17 lines
307 B
C
17 lines
307 B
C
#include <assert.h>
|
|
#include <string.h>
|
|
|
|
#include "lauxlib.h"
|
|
#include "lua.h"
|
|
|
|
int main(void) {
|
|
assert(strcmp(LUA_RELEASE, "Lua 5.4.8") == 0);
|
|
assert(sizeof(lua_Integer) == 4);
|
|
assert(sizeof(lua_Number) == 4);
|
|
|
|
lua_State* state = luaL_newstate();
|
|
assert(state);
|
|
lua_close(state);
|
|
return 0;
|
|
}
|