|
Revision 265, 0.7 kB
(checked in by xammy, 1 month ago)
|
lua 5.1.3 bindings with wrapper classes and mixins
|
| Line | |
|---|
| 1 |
module lua.lualib; |
|---|
| 2 |
|
|---|
| 3 |
private import lua.lua; |
|---|
| 4 |
|
|---|
| 5 |
extern (C): |
|---|
| 6 |
|
|---|
| 7 |
const char[] LUA_FILEHANDLE = "FILE*"; |
|---|
| 8 |
const char[] LUA_COLIBNAME = "coroutine"; |
|---|
| 9 |
int luaopen_base(lua_State *L); |
|---|
| 10 |
const char[] LUA_TABLIBNAME = "table"; |
|---|
| 11 |
int luaopen_table(lua_State *L); |
|---|
| 12 |
const char[] LUA_IOLIBNAME = "io"; |
|---|
| 13 |
int luaopen_io(lua_State *L); |
|---|
| 14 |
const char[] LUA_OSLIBNAME = "os"; |
|---|
| 15 |
int luaopen_os(lua_State *L); |
|---|
| 16 |
const char[] LUA_STRLIBNAME = "string"; |
|---|
| 17 |
int luaopen_string(lua_State *L); |
|---|
| 18 |
const char[] LUA_MATHLIBNAME = "math"; |
|---|
| 19 |
int luaopen_math(lua_State *L); |
|---|
| 20 |
const char[] LUA_DBLIBNAME = "debug"; |
|---|
| 21 |
int luaopen_debug(lua_State *L); |
|---|
| 22 |
const char[] LUA_LOADLIBNAME = "package"; |
|---|
| 23 |
int luaopen_package(lua_State *L); |
|---|
| 24 |
|
|---|
| 25 |
void luaL_openlibs(lua_State *L); |
|---|