mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-10 01:01:46 +00:00
10 lines
191 B
C
10 lines
191 B
C
#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);
|
|
} |