- ApplicationDefinition: fixed generation of modules.c when the application contains extension methods.
--- a/ApplicationDefinition.st Sun Feb 27 17:19:41 2011 +0000
+++ b/ApplicationDefinition.st Thu Mar 03 22:52:11 2011 +0000
@@ -1036,7 +1036,7 @@
(self generateExtensionLine:(self extensionsLine_modules_dot_c)));
at: 'EXTERN_INIT_NAME_LIST' put:
((self generateClassLines:(self classLine_modules_dot_c_extern)),
- (self generateExtensionLine:(self extensionsLine_modules_dot_c)));
+ (self generateExtensionLine:(self extensionsLine_modules_dot_c_extern)));
yourself.
^ d
@@ -1046,7 +1046,7 @@
"
"Created: / 19-09-2006 / 22:42:15 / cg"
- "Modified: / 18-11-2010 / 10:37:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 03-03-2011 / 19:09:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
modules_dot_stx_mappings
@@ -2107,6 +2107,13 @@
"Created: / 18-11-2010 / 10:36:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
+extensionsLine_modules_dot_c_extern
+
+ ^'extern void _%(CLASS)_Init();'
+
+ "Created: / 03-03-2011 / 19:13:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
installFileLine_nsi_for:filePattern
"the template code for a single file-install pattern to be added to the <appname>.nsi file"
@@ -2862,7 +2869,7 @@
!ApplicationDefinition class methodsFor:'documentation'!
version
- ^ '$Id: ApplicationDefinition.st 10615 2011-02-27 17:19:41Z vranyj1 $'
+ ^ '$Id: ApplicationDefinition.st 10617 2011-03-03 22:52:11Z vranyj1 $'
!
version_CVS
@@ -2870,5 +2877,5 @@
!
version_SVN
- ^ '$Id: ApplicationDefinition.st 10615 2011-02-27 17:19:41Z vranyj1 $'
+ ^ '$Id: ApplicationDefinition.st 10617 2011-03-03 22:52:11Z vranyj1 $'
! !