Changeset 28
- Timestamp:
- 12/22/05 16:40:35 (3 years ago)
- Files:
-
- trunk/lua/README.txt (modified) (1 diff)
- trunk/lua/lauxlib.d (modified) (1 diff)
- trunk/lua/lua.d (modified) (2 diffs)
- trunk/lua/lualib.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lua/README.txt
r23 r28 3 3 Lua bindings for the D programming language 4 4 5 Check the derelict forums for the derelict lua bindings, coming 'anytime soon now'5 Check the Derelict forums for a Derelictized version of the lua bindings. trunk/lua/lauxlib.d
r23 r28 18 18 const char *name; 19 19 lua_CFunction func; 20 } ;20 } 21 21 //alias luaL_reg luaL_reg; 22 22 trunk/lua/lua.d
r17 r28 46 46 47 47 extern (C) { 48 struct lua_State ;48 struct lua_State; 49 49 //alias lua_State lua_State; 50 50 51 52 alias int (*lua_CFunction) (lua_State *L); 53 54 55 56 57 58 alias const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *sz); 59 60 alias int (*lua_Chunkwriter) (lua_State *L, /*const*/ void* p, 51 typedef int (*lua_CFunction) (lua_State *L); 52 53 // the compiler tells me so (alias lua.lua.lua_Chunkreader cannot be const) 54 typedef /*const*/ char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *sz); 55 56 typedef int (*lua_Chunkwriter) (lua_State *L, /*const*/ void* p, 61 57 size_t sz, void* ud); 62 58 … … 409 405 const int LUA_MASKCOUNT = (1 << LUA_HOOKCOUNT); 410 406 411 aliasvoid (*lua_Hook) (lua_State *L, lua_Debug *ar);407 typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); 412 408 413 409 trunk/lua/lualib.d
r17 r28 31 31 const char[] LUA_DBLIBNAME = "debug"; 32 32 33 /*LUA_API*/ int luaopen_base (lua_State * L);33 /*LUA_API*/ int luaopen_base (lua_State * L); 34 34 35 35
