Re: Methods calling C functions
Re: Methods calling C functions
- Subject: Re: Methods calling C functions
- From: Lee Morgan <email@hidden>
- Date: Mon, 20 Jun 2005 00:27:26 -0400
On Jun 20, 2005, at 12:06 AM, Corey O'Connor wrote: 2) Or, LMTimeLog is in a .cpp file and is being called from a .m file. This would create different symbols for the "same" function. Which would result in a link error. Or some other method LMTimeLog would be declared as a C function but compiled as a C++ function.
Thanks for the hint. While that wasn't my problem it did turn on the light in my head. I had a small snip of code I added to the .c file a few days ago and forgot about, it was using obj-c for NSString support. Changing the file to a obj-c (.m) file corrected the problem.
Good Times.
- Lee |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden