| 1890 | } |
| 1891 | |
| 1892 | void 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 | |
| 1899 | void ClassDB::_bind_method_custom(const StringName &p_class, MethodBind *p_method, bool p_compatibility) { |
| 1900 | Locker::Lock lock(Locker::STATE_WRITE); |