libextobjc icon indicating copy to clipboard operation
libextobjc copied to clipboard

libextobjc's onExit macro conflicts with Cocos2D library

Open dbrisinda opened this issue 11 years ago • 2 comments
trafficstars

Would it be possible to rename the onExit macro to something a little less common? Say onExitScope or something similar? At present it conflicts with at least the Cocos2D library which has an onExit method that is heavily used in Cocos2D applications.

dbrisinda avatar Oct 07 '14 22:10 dbrisinda

Sorry, but it would break a lot of existing code to change this now.

You may want to instead subtree merge libextobjc into your project, so you can change the files just for your own use.

jspahrsummers avatar Oct 08 '14 20:10 jspahrsummers

Took me forever to figure out what was going on! Changed it to ext_onExit in my personal cocos2d project

tettoffensive avatar Jan 28 '15 00:01 tettoffensive