Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::PDATA Structure
C++
typedef struct SimpleDataBlock {
  PTRSZVAL size;
  _8 data[ ];
} DATA, * PDATA;
Members 
Description 
PTRSZVAL size; 
unsigned size; size is sometimes a pointer value... this means bad thing when we change platforms... Defined as PTRSZVAL now, so it's relative to the size of the platform anyhow. 
_8 data[ ]; 
beginning of var data - this is created size+sizeof(_8

Hmm - this can be done with MemLib alone... although this library is not nessecarily part of that? and it's not nessecarily allocated.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!