Skip to content

Commit

Permalink
revert me? assert that this plud is not called
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Apr 19, 2018
1 parent d6273ff commit 5a01fb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/luawrapper/include/LuaContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2078,6 +2078,9 @@ struct LuaContext::Pusher<const std::type_info*> {
static const int maxSize = 1;

static PushedObject push(lua_State* state, const std::type_info* ptr) noexcept {
fprintf(stderr, "about to call lua_pushlightuserdata(state, %p)", ptr);
assert(false && "lua_pushlightuserdata called");

lua_pushlightuserdata(state, const_cast<std::type_info*>(ptr));
return PushedObject{state, 1};
}
Expand Down

0 comments on commit 5a01fb3

Please sign in to comment.