gmcl_samurai_win32/struct.h
2017-05-14 00:07:42 +03:00

22 lines
No EOL
373 B
C

#ifndef __STRUCT_H
#define __STRUCT_H
#define STRUCT_NAME "luaL_Struct"
#define STRUCT_TYPE 196
#include "interface.h"
#include "memobj.h"
typedef struct {
memobj_t* page;
char* s_ptr;
bool bFree;
} struct_t;
void Struct_Create(CLuaState* L,memobj_t* obj);
int Struct_FromPointer(CLuaState* L);
int Struct_Open(CLuaState* L);
int Struct_Close(CLuaState* L);
#endif