Re: [Solved] Re: [[NSNotificationCenter defaultCenter] postNotificationName:...] in a C function get error
Re: [Solved] Re: [[NSNotificationCenter defaultCenter] postNotificationName:...] in a C function get error
- Subject: Re: [Solved] Re: [[NSNotificationCenter defaultCenter] postNotificationName:...] in a C function get error
- From: j o a r <email@hidden>
- Date: Tue, 7 Dec 2004 15:27:52 +0100
That doesn't make sense. You must have done something else to resolve
the problem.
The error you posted in your first message to this thread is a runtime
error, the solution you post here is a compile time hack (expanded by
the preprocessor). The two should not be related.
j o a r
On 2004-12-07, at 15.14, Vincent Pottier wrote:
The problem come from [NSNotificationCenter defaultCenter], it can't
be defined in the C function. just add
#define center [NSDistributedNotificationCenter defaultCenter] and
then use "center" instead of [NSNotificationCenter defaultCenter].
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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