Peter Duniho wrote:
On Feb 6, 2009, at 6:51 PM, Kevin Walzer wrote:
[...] I'm not sure what is causing these errors. Line 11 is set up
like this:
-(int)switchIcon (ClientData cd, Tcl_ip *ip, int objc, Tcl_Obj *objv[]);
The error is because your method prototype syntax is completely wrong.
You should probably read some of the basic guides before you try writing
Objective-C programs. Here's a good place to start:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/index.html
Hope that helps.
Pete
I am making progress on this by refactoring the code to include the
Cocoa methods in a Cocoa class and the Tcl C-API code in a separate
file, called in normal C procedural style.
Thanks for the advice.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]