FreeBASIC  0.91.0
fb_data.h
Go to the documentation of this file.
1 struct _FB_DATADESC {
2  short len;
3  union {
4  char *zstr;
6  void *ofs;
7  struct _FB_DATADESC *next;
8  };
9 } FBPACKED;
10 
11 typedef struct _FB_DATADESC FB_DATADESC;
12 
14 
15 #define FB_DATATYPE_LINK -1
16 #define FB_DATATYPE_OFS -2
17 #define FB_DATATYPE_WSTR 0x8000
18 
19 FBCALL void fb_DataRestore ( FB_DATADESC *labeladdr );
20  void fb_DataNext ( void );
21 FBCALL void fb_DataReadStr ( void *dst, ssize_t dst_size, int fillrem );
22 FBCALL void fb_DataReadWstr ( FB_WCHAR *dst, ssize_t dst_size );
23 FBCALL void fb_DataReadByte ( char *dst );
24 FBCALL void fb_DataReadUByte ( unsigned char *dst );
25 FBCALL void fb_DataReadShort ( short *dst );
26 FBCALL void fb_DataReadUShort ( unsigned short *dst );
27 FBCALL void fb_DataReadInt ( int *dst );
28 FBCALL void fb_DataReadUInt ( unsigned int *dst );
29 FBCALL void fb_DataReadLongint ( long long *dst );
30 FBCALL void fb_DataReadULongint ( unsigned long long *dst );
31 FBCALL void fb_DataReadSingle ( float *dst );
32 FBCALL void fb_DataReadDouble ( double *dst );