Skip to content

chenweiqi/lua-cutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-cutil

Lua CUtil is a util library for Lua

Build

make sure lua was installed in your linux, and the following command 'make install' is just match lua 5.3, so lua 5.3 is suggested.

$ make all
$ make install

the command 'make install' is short for the following commands:

$ cp cutil.so /usr/local/lib/lua/5.3
$ chmod 755 /usr/local/lib/lua/5.3/cutil.so

Test

there is an example in the 'tests' dir.

$ /usr/local/bin/lua
Lua 5.3.2  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> dofile("tests/sample.lua")
lua version:    ssfoo明天a你好foo23333
cutil version:  ssfoo明天a你好foo23333
efficiency comparison: 
test lua version:       5.53
test cutil version:     0.06

About

Lua CUtil is a util library for Lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published