| 109 | } |
| 110 | |
| 111 | ScriptInstance *FakeGDScript::instance_create(Object *p_this) { |
| 112 | auto instance = memnew(FakeScriptInstance()); |
| 113 | instance->script = Ref<FakeGDScript>(this); |
| 114 | instance->owner = p_this; |
| 115 | instance->update_cached_prop_names(); |
| 116 | return instance; |
| 117 | } |
| 118 | |
| 119 | PlaceHolderScriptInstance *FakeGDScript::placeholder_instance_create(Object *p_this) { |
| 120 | PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*GDScriptLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this)); |
nothing calls this directly
no test coverage detected