1 Star 1 Fork 0

yyz116 / luago

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lualib.go 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
yyz116 提交于 2020-09-10 14:58 . first commit
package luago
/*
#cgo CFLAGS:-I../../inc
#cgo LDFLAGS:-lm
#include "lua/lualib.h"
*/
import "C"
func Luaopen_base(L Lua_Handle) int { return int(C.luaopen_base(L)) }
const LUA_COLIBNAME = C.LUA_COLIBNAME
func Luaopen_coroutine(L Lua_Handle) int { return int(C.luaopen_coroutine(L)) }
const LUA_TABLIBNAME = C.LUA_TABLIBNAME
func Luaopen_table(L Lua_Handle) int { return int(C.luaopen_table(L)) }
const LUA_IOLIBNAME = C.LUA_IOLIBNAME
func Luaopen_io(L Lua_Handle) int { return int(C.luaopen_io(L)) }
const LUA_OSLIBNAME = C.LUA_OSLIBNAME
func Luaopen_os(L Lua_Handle) int { return int(C.luaopen_os(L)) }
const LUA_STRLIBNAME = C.LUA_STRLIBNAME
func Luaopen_string(L Lua_Handle) int { return int(C.luaopen_string(L)) }
const LUA_BITLIBNAME = C.LUA_BITLIBNAME
func Luaopen_bit32(L Lua_Handle) int { return int(C.luaopen_bit32(L)) }
const LUA_MATHLIBNAME = C.LUA_MATHLIBNAME
func Luaopen_math(L Lua_Handle) int { return int(C.luaopen_math(L)) }
const LUA_DBLIBNAME = C.LUA_DBLIBNAME
func Luaopen_debug(L Lua_Handle) int { return int(C.luaopen_debug(L)) }
const LUA_LOADLIBNAME = C.LUA_LOADLIBNAME
func Luaopen_package(L Lua_Handle) int { return int(C.luaopen_package(L)) }
/* open all previous libraries */
func LuaL_openlibs(L Lua_Handle) { C.luaL_openlibs(L) }
Go
1
https://gitee.com/yyz116/luago.git
git@gitee.com:yyz116/luago.git
yyz116
luago
luago
c8e66c062034

搜索帮助