I have a C ++ library that does not use namespaces. I want to port it to Objective-C. The problem is the collision of names between them. I want it to have the same name in Objective-C, which is the name of a C ++ object. But I just can't figure out how best to do this without turning into a mess. I hope to resolve this.
The prefix of all your Objective-C classes is the same as you would write a framework on Mac, and Apple with its frames.
#define #undef / .. - , ++.
#define
#undef
. (-) #define Bar_Function Foo_Function, , Bar_Function #undef Bar_Function #define Bar_Function Foo_Function
#define Bar_Function Foo_Function
#undef Bar_Function
, Bar_Function...
, - , .:)
Source: https://habr.com/ru/post/1769280/More articles:gqlquery for no values โโin ListProperty - google-app-engineWhat is an event loop or loop cycle? - terminologyjQuery qTip callback not working - jqueryHow to hide C ++ source code from client - c ++Graph theory questions from my algorithm quiz today that I would like to help understand - mathWhat is the etymology / meaning of the term โvalue objectโ? - javaWhat happened to this ruby โโon rail migration? - ruby-on-railsError checking using Func Delegate - c #java value object - javaHow to break a line in a shell script - linuxAll Articles