Skip to content

Small example using C and Lua and integration of both.

License

Notifications You must be signed in to change notification settings

MatheusKS95/CLuaExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLuaExample

Small example using C and Lua and integration of both. C calls a function from main.lua and Lua calls 2 functions from the C code and other from a lua module (module.lua).

This uses MiniLua (https://github.com/edubart/minilua), under MIT, instead of linking against Lua libraries for simplicity reasons, such as not needing to have those libraries installed first.

You can use CMake to build it.

This repository exists for reference purposes and as an example for anyone needing it, including myself. Do what you want, but keep in mind MiniLua is under MIT licence.

About

Small example using C and Lua and integration of both.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages