| 91 | } |
| 92 | |
| 93 | ScriptInstance *FakeScript::instance_create(Object *p_this) { |
| 94 | auto instance = memnew(FakeScriptInstance()); |
| 95 | instance->script = Ref<FakeScript>(this); |
| 96 | instance->owner = p_this; |
| 97 | instance->is_fake_embedded = true; |
| 98 | return instance; |
| 99 | } |
| 100 | |
| 101 | PlaceHolderScriptInstance *FakeScript::placeholder_instance_create(Object *p_this) { |
| 102 | PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*GDScriptLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this)); |
nothing calls this directly
no test coverage detected