2012-04-22 17:12:39 +00:00
|
|
|
#ifndef _PAYSAGES_PACK_H_
|
|
|
|
#define _PAYSAGES_PACK_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct PackStream PackStream;
|
|
|
|
|
|
|
|
PackStream* packReadFile(char* filepath);
|
|
|
|
PackStream* packWriteFile(char* filepath);
|
|
|
|
void packCloseStream(PackStream* stream);
|
|
|
|
|
2012-06-15 09:31:11 +00:00
|
|
|
void packWriteFloat(PackStream* stream, float* value);
|
|
|
|
void packReadFloat(PackStream* stream, float* value);
|
2012-04-22 17:12:39 +00:00
|
|
|
void packWriteInt(PackStream* stream, int* value);
|
|
|
|
void packReadInt(PackStream* stream, int* value);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|