External function trouble
Monkey Targets Forums/Desktop/External function trouble
| ||
I'm trying to use an external function. I have to use a .m extension for this function but when I do, it gives me this error: "use of undeclared identifier 'functionName'". I tried creating a header file but it doesn't seem to make a difference. Edit: This only seems to be the case when trying to use obj-c. c++ doesn't have this issue. |
| ||
Heh, I was just to reply that you can't use .m files in Monkey, not sure why, but you can't.\ |
| ||
Have you tried obj-c++ (.mm). How do you expect people to help if you don't post any code, specifically your function prototype / declaration. |