| 103 | } |
| 104 | |
| 105 | [[nodiscard]] |
| 106 | static const char* format_dynamic_class_name(const char* name) { |
| 107 | if (g_str_has_prefix(name, "_private_")) |
| 108 | return name + strlen("_private_"); |
| 109 | return name; |
| 110 | } |
| 111 | |
| 112 | bool gjs_typecheck_instance(JSContext* cx, JS::HandleObject obj, |
| 113 | const JSClass* static_clasp, bool throw_error) { |
no outgoing calls
no test coverage detected