21 lines
455 B
C
21 lines
455 B
C
#ifndef __GEARBOX_FILE_H__
|
|
#define __GEARBOX_FILE_H__
|
|
|
|
#include <GearBox/MachDep.h>
|
|
#include <GearBox/TypeDefs.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
GBDECL GBFile GBFileOpen(GBEngine engine, const char* path);
|
|
GBDECL int GBFileRead(GBFile file, void* out, int size);
|
|
GBDECL void GBFileSeek(GBFile file, int pos);
|
|
GBDECL unsigned int GBFileSize(GBFile file);
|
|
GBDECL void GBFileClose(GBFile file);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|