00001
00002
00003
00004
00005 #ifndef _STREAM_H
00006 #define _STREAM_H
00007
00008 #include <stdio.h>
00009 #include "platform.h"
00010 #include "class.h"
00011
00012
00013 #define SF_MODULES 0x0100
00014 #define SF_GLOBALS 0x0200
00015 #define SF_CLASSES 0x0300
00016 #define SF_OBJECTS 0x0400
00017 #define SF_ALL 0x0f00
00018
00019 int64 stream_out(FILE *fp, int flags);
00020 int64 stream_in(FILE *fp, int flags);
00021 char* stream_context();
00022
00023 int stream_in_double(FILE*,void*,PROPERTY*);
00024 int stream_out_double(FILE*,void*,PROPERTY*);
00025
00026 #endif