From: Arno P. <ar...@pu...> - 2012-07-24 01:46:48
|
thanks for the fix. The new iOS API is handled differently. Instead of manually writing the Java skeletons and the C wrappers (as done in the old version), those files are now generated by parsing the original iOS Objective-C header files. This is done by a tool called crossmobile that you can find in xmlvm/trunk/crossmobile. In that project, look for a file called advisor.xml. This file contains 'hints' for the code generation of skeletons and wrappers. The fact that a class such as NSData has an alias (NSConcreteData) has to be added to advisor.xml. Look for a tag called <alias> for other examples. Once you've added this, run 'ant gen-xmlvm-ios'. Note that crossmobile can currently only parse 4.* API. Arno On 7/22/12 11:49 PM, Kensuke Matsuzaki wrote: > NSData.dataWithBytes returns instance of NSConcreteData. > So create_wrapping_c_object goes to infinite loop. > Now I'm using attached workaround. > > Do you have any idea about this ? > > Thank you. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > |