mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-17 09:51:28 +00:00
8e7939fdc2
git-svn-id: https://svn.eduke32.com/eduke32@6007 1a8010ca-5511-0410-912e-c29ae57300e0
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
** Standard library header.
|
|
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
|
|
*/
|
|
|
|
#ifndef _LUALIB_H
|
|
#define _LUALIB_H
|
|
|
|
#include "lua.h"
|
|
|
|
#define LUA_FILEHANDLE "FILE*"
|
|
|
|
#define LUA_COLIBNAME "coroutine"
|
|
#define LUA_MATHLIBNAME "math"
|
|
#define LUA_STRLIBNAME "string"
|
|
#define LUA_TABLIBNAME "table"
|
|
#define LUA_IOLIBNAME "io"
|
|
#define LUA_OSLIBNAME "os"
|
|
#define LUA_LOADLIBNAME "package"
|
|
#define LUA_DBLIBNAME "debug"
|
|
#define LUA_BITLIBNAME "bit"
|
|
#define LUA_JITLIBNAME "jit"
|
|
#define LUA_FFILIBNAME "ffi"
|
|
|
|
LUALIB_API int luaopen_base(lua_State *L);
|
|
LUALIB_API int luaopen_math(lua_State *L);
|
|
LUALIB_API int luaopen_string(lua_State *L);
|
|
LUALIB_API int luaopen_table(lua_State *L);
|
|
LUALIB_API int luaopen_io(lua_State *L);
|
|
LUALIB_API int luaopen_os(lua_State *L);
|
|
LUALIB_API int luaopen_package(lua_State *L);
|
|
LUALIB_API int luaopen_debug(lua_State *L);
|
|
LUALIB_API int luaopen_bit(lua_State *L);
|
|
LUALIB_API int luaopen_jit(lua_State *L);
|
|
LUALIB_API int luaopen_ffi(lua_State *L);
|
|
|
|
LUALIB_API void luaL_openlibs(lua_State *L);
|
|
|
|
#ifndef lua_assert
|
|
#define lua_assert(x) ((void)0)
|
|
#endif
|
|
|
|
#endif
|