Compiler doesn't see instance variable
Compiler doesn't see instance variable
- Subject: Compiler doesn't see instance variable
- From: "Carter R. Harrison" <email@hidden>
- Date: Sun, 27 Jul 2008 08:51:05 -0400
I'm having an interesting problem today. I'm working with the event-
driven XML parser in Core Foundation. For those of you who aren't
familiar with that parser, you have to implement at least 3 callback
methods:
void *createStructure(CFXMLParserRef parser, CFXMLNodeRef node, void
*info)
void addChild(CFXMLParserRef parser, void *parent, void *child, void
*info)
void endStructure(CFXMLParserRef parser, void *xmlType, void *info)
Inside the addChild method, I attempt to access an instance variable
that is defined within the header file for the source file in which
the callback methods are defined. For some reason the compiler is
unable to see my instance variables when referenced from these
methods. The compiler gives me a "error: 'parseArray' undeclared
(first use in this function)".
Any ideas as to what I'm doing wrong? Thanks in advance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden