1 print "luatcc working compilation test:"
2 print "--------------------------------"
4 local luatcc
= require
'tcc'
5 local context
= luatcc
.new()
7 context
:add_include_path('/usr/include/lua5.1')
8 context
:define_symbol('STR','"Hello World!"')
13 lua_pushstring(L, STR);
17 context
:undefine_symbol('STR')
19 local foo
= context
:get_symbol("foo")