jarrin-p / lua_embed_template

template for quick starting projects that use Lua and C together

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

description

a template for using lua with C. it should run right away. it includes the setup for

  • embedding a lua interpreter into a C program
  • using C functions in Lua scripts via pushing functions directly to lua state
  • creating lua c-module which can be required by a lua script (so long as it's in the cpath)
  • loading a library directly from C into the lua state

About

template for quick starting projects that use Lua and C together


Languages

Language:C 48.1%Language:Makefile 32.4%Language:Lua 19.5%