Created
July 25, 2016 19:40
-
-
Save jerstlouis/3cb8e103c90894274aad28f6a521c8f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ecere/src/com/instance.ec b/ecere/src/com/instance.ec | |
index ee5a4ee..7ce4dbe 100644 | |
--- a/ecere/src/com/instance.ec | |
+++ b/ecere/src/com/instance.ec | |
@@ -3712,6 +3712,11 @@ static void ComputeClassParameters(Class templatedClass, const char * templatePa | |
argument.dataTypeClass = eSystem_FindClass(_class.module, value); | |
if(!argument.dataTypeClass) | |
argument.dataTypeClass = eSystem_FindClass(_class.module.application, value); | |
+ if(!argument.dataTypeClass) | |
+ { | |
+ argument.dataTypeClass = eSystem_RegisterClass(0, value, null, 0,0, null, null, _class.module, publicAccess, publicAccess); | |
+ argument.dataTypeClass.internalDecl = true; | |
+ } | |
break; | |
case expression: | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment