How to write cross-platform C library and link it with iOS app? -
i need lib kind of caching. must cross-platform reuse on linux/windows/ios. how do that?
if want this, need put platform specific code inside #ifdef allow code compiled on different platforms. might easier create 1 common c library same across platforms , 3 separate c libraries handle platform specific code.
i think code easier read , manage way.
Comments
Post a Comment