MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator()

Method operator()

extlibs/sol3/include/sol/sol.hpp:21230–21238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21228 change_indexing_mem_func change_indexing;
21229
21230 void operator()(lua_State* L, submetatable_type smt, reference& fast_index_table) {
21231 int fast_index_table_push = fast_index_table.push();
21232 stack_reference t(L, -fast_index_table_push);
21233 stack::set_field(L, detail::base_class_check_key(), reinterpret_cast<void*>(base_class_check_func), t.stack_index());
21234 stack::set_field(L, detail::base_class_cast_key(), reinterpret_cast<void*>(base_class_cast_func), t.stack_index());
21235 // change indexing, forcefully
21236 (p_usb->*change_indexing)(L, smt, p_derived_usb, t, idx_call, new_idx_call, meta_idx_call, meta_new_idx_call);
21237 t.pop();
21238 }
21239 };
21240
21241 struct binding_data_equals {

Callers

nothing calls this directly

Calls 6

set_fieldFunction · 0.85
base_class_check_keyFunction · 0.85
base_class_cast_keyFunction · 0.85
pushMethod · 0.45
stack_indexMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected