| 413 | TEST_CASE("feature/indexing overrides", "make sure index functions can be overridden on types") { |
| 414 | struct PropertySet { |
| 415 | sol::object get_property_lua(const char* name, sol::this_state s) { |
| 416 | auto& var = props[name]; |
| 417 | return sol::make_object(s, var); |
| 418 | } |
| 419 | |
| 420 | void set_property_lua(const char* name, sol::stack_object object) { |
| 421 | props[name] = object.as<std::string>(); |
nothing calls this directly
no test coverage detected