Michaël Lemaire
e56489062a
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@303 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
26 lines
561 B
C
26 lines
561 B
C
#ifndef _PAYSAGES_PACK_H_
|
|
#define _PAYSAGES_PACK_H_
|
|
|
|
#include <stdio.h>
|
|
#include "shared/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct PackStream PackStream;
|
|
|
|
PackStream* packReadFile(char* filepath);
|
|
PackStream* packWriteFile(char* filepath);
|
|
void packCloseStream(PackStream* stream);
|
|
|
|
void packWriteDouble(PackStream* stream, double* value);
|
|
void packReadDouble(PackStream* stream, double* value);
|
|
void packWriteInt(PackStream* stream, int* value);
|
|
void packReadInt(PackStream* stream, int* value);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|