From: Panayotis K. <pan...@pa...> - 2011-09-21 11:59:14
|
I have a strangle situation with C backend, iFireworks and generated C code. Of course before doing anything I performed an "ant clean" to be sure. For optimization reasons, I've played a bit with the Java iOS compatibility library and made it a bit "lighter", to see what happens. One of the changes was to remove some unneeded private static methods. Then I re-created the C-wrappers with the new java files. To be sure that the changes were performed, I enter xmlvm.jar:/main/main.jar:/iphone/cocoa-compat-lib.jar:... and had a look at the generated files there if they have inherited the change (they did). I took as an example the CGRect class and its static properties. Then I went to iFireworks and recreated the Xcode project. Unfortunately the generated files there recreated some methods, i.e. the CLINIT method which was of course missing from the generated C wrappers. Not only that, it tagged it as "unimplemented" (which by default was an empty statement). Of course at this point the application broke. If I removed "exit(-1)" from the not-implemented function, the application worked perfectly. So it seems that the problems was with the injected (but not anymore required) CLINT method. How can we solve this? Am I missing something? |