MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _bind_compatibility

Method _bind_compatibility

core/object/class_db.cpp:1892–1897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1890}
1891
1892void ClassDB::_bind_compatibility(ClassInfo *type, MethodBind *p_method) {
1893 if (!type->method_map_compatibility.has(p_method->get_name())) {
1894 type->method_map_compatibility.insert(p_method->get_name(), LocalVector<MethodBind *>());
1895 }
1896 type->method_map_compatibility[p_method->get_name()].push_back(p_method);
1897}
1898
1899void ClassDB::_bind_method_custom(const StringName &p_class, MethodBind *p_method, bool p_compatibility) {
1900 Locker::Lock lock(Locker::STATE_WRITE);

Callers

nothing calls this directly

Calls 4

hasMethod · 0.45
get_nameMethod · 0.45
insertMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected