Sha256: 787b00217f8fa784eecba4923e0a0ebfe6b6f98317cd07390f1d4b7437e49d3b
Contents?: true
Size: 815 Bytes
Versions: 6
Compression:
Stored size: 815 Bytes
Contents
// // wax_struct.h // Rentals // // Created by ProbablyInteractive on 7/7/09. // Copyright 2009 Probably Interactive. All rights reserved. // #import <Foundation/Foundation.h> #import "lua.h" #define WAX_STRUCT_METATABLE_NAME "wax.struct" typedef struct _wax_struct_userdata { void *data; int size; char *name; char *typeDescription; } wax_struct_userdata; int luaopen_wax_struct(lua_State *L); wax_struct_userdata *wax_struct_create(lua_State *L, const char *typeDescription, void *buffer); void wax_struct_pushValueAt(lua_State *L, wax_struct_userdata *structUserdata, int index); void wax_struct_setValueAt(lua_State *L, wax_struct_userdata *structUserdata, int index, int stackIndex); int wax_struct_getOffsetForName(lua_State *L, wax_struct_userdata *structUserdata, const char *name);
Version data entries
6 entries across 6 versions & 1 rubygems