diff options
| author | Alexander Gavrilov | 2012-03-31 15:40:54 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-31 15:40:54 +0400 |
| commit | 0f41608ed4b808205dd8734bbc52de64f6501c98 (patch) | |
| tree | 63229bc9c5cf3c37be28b062bae951bcfae8fb33 /library/LuaWrapper.cpp | |
| parent | 9384f0c842f817bf810b34e44bfa3be913e7e3fc (diff) | |
| download | dfhack-0f41608ed4b808205dd8734bbc52de64f6501c98.tar.gz dfhack-0f41608ed4b808205dd8734bbc52de64f6501c98.tar.bz2 dfhack-0f41608ed4b808205dd8734bbc52de64f6501c98.tar.xz | |
Pull console output support and REPL out of dfusion into core lib.
Diffstat (limited to 'library/LuaWrapper.cpp')
| -rw-r--r-- | library/LuaWrapper.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/library/LuaWrapper.cpp b/library/LuaWrapper.cpp index 81712724..b9314f07 100644 --- a/library/LuaWrapper.cpp +++ b/library/LuaWrapper.cpp @@ -59,16 +59,6 @@ void LuaWrapper::field_error(lua_State *state, int index, const char *err, const mode, (cname ? cname : "?"), (fname ? fname : "?"), err); } -void DFHack::PushDFObject(lua_State *state, type_identity *type, void *ptr) -{ - push_object_internal(state, type, ptr, false); -} - -void *DFHack::GetDFObject(lua_State *state, type_identity *type, int val_index, bool exact_type) -{ - return get_object_internal(state, type, val_index, exact_type, false); -} - /* */ static int change_error(lua_State *state) @@ -1320,7 +1310,7 @@ static int DoAttach(lua_State *state) * Initialize access to DF objects from the interpreter * context, unless it has already been done. */ -void DFHack::AttachDFGlobals(lua_State *state) +void LuaWrapper::AttachDFGlobals(lua_State *state) { if (luaL_newmetatable(state, DFHACK_TYPETABLE_NAME)) { |
