Re: CFGetRetainCount question
Re: CFGetRetainCount question
- Subject: Re: CFGetRetainCount question
- From: Dmitry Markman <email@hidden>
- Date: Fri, 04 Jul 2008 23:43:24 -0400
well I found some information in the NSObject's retainCount method
documentation:
"You rarely send a retainCount message; however, you might implement
this method in a class to implement your own reference-counting
scheme. For objects that never get released (that is, theirrelease
method does nothing), this method should return UINT_MAX, as defined
in <limits.h>"
but UINT_MAX is 4294967295 (0xFFFFFFFF)
so what does 0x7FFFFFFF mean?
thanks
On Jul 4, 2008, at 11:30 PM, Dmitry Markman wrote:
Hi
CFGetRetainCount returns 2147483647 (0x7FFFFFFF)
what does it mean?
CFGetRetainCount documentation doesn't have any info about that
header (CFBase.h) doesn't have any comment
thanks
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden