Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

libextobjc's onExit macro conflicts with Cocos2D library #82

Open
dbrisinda opened this issue Oct 7, 2014 · 2 comments
Open

libextobjc's onExit macro conflicts with Cocos2D library #82

dbrisinda opened this issue Oct 7, 2014 · 2 comments

Comments

@dbrisinda
Copy link

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.

@jspahrsummers
Copy link
Owner

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.

@tettoffensive
Copy link

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

diederich added a commit that referenced this issue Jun 26, 2018
Submodule changes to be committed:

* Configuration 4ac967d...bb79555 (4):
  > Merge pull request #84 from cocologics/xcode-9.3-swift-wholemodule
  > Merge pull request #82 from norio-nomura/add-mac-xctest
  > Merge pull request #52 from norio-nomura/rpath-for-mac
  > Merge pull request #73 from erichoracek/ios-extensions
defagos pushed a commit to SRGSSR/libextobjc that referenced this issue Sep 12, 2018
Submodule changes to be committed:

* Configuration 4ac967d...bb79555 (4):
  > Merge pull request jspahrsummers#84 from cocologics/xcode-9.3-swift-wholemodule
  > Merge pull request jspahrsummers#82 from norio-nomura/add-mac-xctest
  > Merge pull request jspahrsummers#52 from norio-nomura/rpath-for-mac
  > Merge pull request jspahrsummers#73 from erichoracek/ios-extensions
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants