summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/Common/Common.bind.cpp
blob: 081426d1caad161ecf13cadce705c8f7dedc0e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Runtime/Lua/LuaHelper.h"
#include "Runtime/Common/DataBuffer.h"

int luaopen_GameLab(lua_State* L)
{
    LUA_BIND_STATE(L);

    state.PushGlobalNamespace();
    state.PushNamespace("GameLab");

    state.RegisterNativeClass<DataBuffer>();

    return 1;
}