2026-01-10 00:55:45 +09:00
|
|
|
#ifndef __GEARBOX_RESOURCE_H__
|
|
|
|
|
#define __GEARBOX_RESOURCE_H__
|
|
|
|
|
|
|
|
|
|
#include <GearBox/MachDep.h>
|
|
|
|
|
#include <GearBox/TypeDefs.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
GBDECL GBResource GBResourceOpen(GBEngine engine, const char* path);
|
2026-01-10 01:40:21 +09:00
|
|
|
GBDECL void* GBResourceGet(GBResource resource, const char* name, unsigned int* size);
|
2026-01-10 00:55:45 +09:00
|
|
|
GBDECL void GBResourceClose(GBResource resource);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|