initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user