gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSIntegerMax?


From: David Chisnall
Subject: Re: NSIntegerMax?
Date: Wed, 5 Oct 2011 18:50:30 +0100

I was pretty sure I remembered adding that, and it turns out I was right:

$ grep NSIntegerMax Foundation/*
Foundation/NSObjCRuntime.h:#    define NSIntegerMax  INTPTR_MAX

In answer to your second question, yes there is a portable way of computing it: 
it's identical to the C99 INTPTR_MAX macro defined in stdint.h.  

David

On 5 Oct 2011, at 18:43, Antonio Vieiro wrote:

> Hi all,
> 
> I'm porting some source code from an Apple environment to GNUstep, and
> I'm noticing that NSIntegerMax (the maximum value of an integer) seems
> to be missing from GNUstep headers.
> 
> Is this so? Is there a portable way to compute NSIntegerMax with GNUstep?
> 
> Thanks in advance,
> Antonio
> 
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


-- Sent from my IBM 1620




reply via email to

[Prev in Thread] Current Thread [Next in Thread]