Skip to content

slmao/tolua_rumtime

 
 

Repository files navigation

tolua_runtime

Build
pc: build_win32.sh build_win64.h (mingw + luajit2.0.4)
android: build_arm.sh build_x86.sh (mingw + luajit2.0.4)
mac: build_osx.sh (xcode + luac5.1.5 luajit can't run in unity5)
ios: build_ios.sh (xcode + luajit2.1 beta)

NDK 版本:android-ndk-r10e 默认安装到 D:/android-ndk-r10e
https://dl.google.com/android/repository/android-ndk-r10e-windows-x86_64.zip
Msys2配置说明
https://github.com/topameng/tolua_runtime/wiki
配置好的Msys2下载
https://pan.baidu.com/s/1c2JzvDQ

Libs

cjson
https://github.com/mpx/lua-cjson
protoc-gen-lua
https://github.com/topameng/protoc-gen-lua
LuaSocket
https://github.com/diegonehab/luasocket
struct
http://www.inf.puc-rio.br/~roberto/struct/
lpeg
http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html

与jarjin/tolua_runtime区别

添加pbc对uint64/int64的支持
为uint64/int64创建一全局弱表来保存以创建的userdata,可以保证值相等的两个uint64/int64指向同一个userdata数据(方便uint64/int64做key)
lua解析协议时,为空的字段直接返回nil而不是默认值

About

基于tolua_rumtime扩展第三方库版本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 91.9%
  • Lua 4.8%
  • HTML 2.4%
  • C++ 0.3%
  • Makefile 0.3%
  • Batchfile 0.2%
  • Other 0.1%