cienijr / odinmobile

Automatically exported from code.google.com/p/odinmobile
0 stars 0 forks source link

Improper function definition in iOS ODIN.h #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
NSString * ODIN1();

is not the right function signature. (ODIN.h:19) 

Remember that .h files paired with .m files get parsed as pure C, which means 
that you have to declare them as:

NSString * ODIN1(void);

This is because an empty () in a forward declaration of a function means that 
the function can take an arbitrary amount of parameters.)

Original issue reported on code.google.com by ixpl...@gmail.com on 5 Feb 2013 at 7:24