Re: Trouble with passing variables
Subject : Re: Trouble with passing variables
From: "I. Savant" <email@hidden >
Date: Tue, 28 Feb 2006 16:14:31 -0500
Delivered-to: email@hidden
Delivered-to: email@hidden
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=sQ3aLDJAp8CGk7EOnvosmiouzTPDsvLiZ521Rql5seop9y+DJ53HQQ1ysEORr30Hoj/FtFPV6oMmf/Onl1DAhNKWSeroL5aPfxRqkP5l8iBAVQW7wKyQLC5zS+AWbmMNmkJFwgFua7cAePD4H3rKU1dLfTgu1fYTmowmEyWqUUc=
D'oh! Hasty read and hasty answer! My apologies!
--
I.S.
On Feb 28, 2006, at 3:45 PM, j o a r wrote:
On 28 feb 2006, at 21.39, I. Savant wrote:
The problem is that you're treating primitive types as objects
and vice-versa.
In what way?
Anyway, this works:
-(BOOL)numberAdded:(int*)number
{
*number = (*number + 1);
return YES;
}
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.