Skip to content

Simple example to demonstrate Lua invocation from C

Notifications You must be signed in to change notification settings

xsnpdngv/LuaDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua Demo

Simple example to demonstrate how to call Lua functions from C

Build

git clone https://github.com/xsnpdngv/LuaDemo.git
cd LuaDemo
make

Run

# ./lua_demo <Lua_file> <Lua_func> [<Lua_arg1>[, ...]]
./lua_demo foo.lua bar "Hello world"
./lua_demo foo.lua baz "Hello" "world"

About

Simple example to demonstrate Lua invocation from C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published