cmake-lua/lua-config-package-tests/lua-config-package-build-test.c

10 lines
191 B
C
Raw Permalink Normal View History

#include <lua.h>
#include <lauxlib.h>
#include <stdio.h>
int main()
{
lua_State *l = luaL_newstate();
double lversion = lua_version(l);
printf("Lua version is %f\n", lversion);
}