MCPcopy Create free account
hub / github.com/ThePhD/sol2 / pointer

Method pointer

include/sol/reference.hpp:421–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419 }
420
421 const void* pointer(lua_State* L_) const noexcept {
422 int si = push(L_);
423 const void* vp = lua_topointer(L_, -si);
424 lua_pop(L_, si);
425 return vp;
426 }
427
428 type get_type(lua_State* L_) const noexcept {
429 int p = push(L_);

Callers

nothing calls this directly

Calls 1

pushFunction · 0.85

Tested by

no test coverage detected