gdjn  Diff

Differences From Artifact [0f238faa9a]:

To Artifact [ab1704aae3]:


110
111
112
113
114
115
116

117
118

119
120
121
122
123
124
125
126
		gd_refCounted_reference(fd);

		if (_gdu_objIs(res, JanetScriptText)) {
			auto asText = gdu_cast(res, "JanetScriptText");
			gd_string src = gd_script_getSourceCode(asText);
			gd_fileAccess_storeString(fd, src);
			_t(string).dtor(&src);

		} else if (_gdu_objIs(res, JanetScriptImage)) {
			auto asImg = gdu_cast(res, "JanetScriptImage");

		};

		gd_fileAccess_close(fd);
		_t(string).dtor(&path_mine);
		gd_refCounted_unreference(fd);
		gd_refCounted_unreference(res);
	};
};







>


>








110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
		gd_refCounted_reference(fd);

		if (_gdu_objIs(res, JanetScriptText)) {
			auto asText = gdu_cast(res, "JanetScriptText");
			gd_string src = gd_script_getSourceCode(asText);
			gd_fileAccess_storeString(fd, src);
			_t(string).dtor(&src);
			auto data = gdjn_class_JanetScriptText_data(res);
		} else if (_gdu_objIs(res, JanetScriptImage)) {
			auto asImg = gdu_cast(res, "JanetScriptImage");
			auto data = gdjn_class_JanetScriptImage_data(res);
		};

		gd_fileAccess_close(fd);
		_t(string).dtor(&path_mine);
		gd_refCounted_unreference(fd);
		gd_refCounted_unreference(res);
	};
};