Re: Breaking into debugger after program hangs....
Re: Breaking into debugger after program hangs....
- Subject: Re: Breaking into debugger after program hangs....
- From: Shawn Erickson <email@hidden>
- Date: Thu, 28 Apr 2005 19:48:18 -0700
On Apr 28, 2005, at 7:42 PM, John Draper wrote:
j o a r wrote:
On 28 apr 2005, at 22.43, John Draper wrote:
I never DID understand this "Toll free" concept.... can
someone come forward and explain
this? Isn't this just a kind of "wrapper" around the lower
level Carbon Procedural calls?
It means that at the data level, the two are one and the same
(for example CFArray == NSArray), and that any operation that
can work on one, can also work on the other (possibly requiring a
"cast" to help identify the type).
One can be casted to another? Even though one is an object, and
another is a procedure call?
One is an object in Objective-C which in reality is just a structure
in C managed by the objective-c runtime. This structure is the same
as a CFArray structure (CFArrary contains the structure header needed
to make Objective-C runtime happy).
So you are saying the NSArray Method maps to a procedure that uses
a CFArray?
Yeah NSArray knows (its code) knows how to call the right CFArray
functions as needed.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden