From: Wolfgang K. <wol...@xm...> - 2009-10-08 16:25:39
|
All files implementing the ObjectiveC-to-Java wrappers are located in the src/xmlvm2objc/compat-lib/objc folder. There are two files you need to implement these functions: java_lang_Math.h and java_lang_Math.m. Looking at the files' content you will note that all implemented methode follow our name mangling convention used as a workaround for the missing overloading in ObjectiveC. To implement the missing functions you also have to follow this convention. -- Wolfgang Joseph Rukshan Fonseka wrote: > Ok I tried to convert an android application to iphone and noticed > quite a few of the Maths functions don't compile such as > > Math.max() > Math.min() > Math.pow() > > I am guessing they aren't supported yet? I would like to extend the > Maths library to have these functions. Which file should I be looking > at to add these? > > Regards, > Rukshan Fonseka. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |