Re: Retain Release functionality in C++ library
Re: Retain Release functionality in C++ library
- Subject: Re: Retain Release functionality in C++ library
- From: "Paul J. Lucas" <email@hidden>
- Date: Tue, 21 Feb 2006 21:15:10 -0800 (PST)
On Wed, 22 Feb 2006, innovator information wrote:
> I am writing a C++ library. I want to give retain and release functionality
> to those C++ classes. How to do that?
You write your own (or use somebody else's) reference-counting
framework.
> Do I need to inherit from Objective-C class NSObject?
No. Don't cross the streams.
> Is it possible?
Not unless you don't mind all life as you know it stopping
instantaneously and every molecule in your body exploding at
the speed of light.
> Or I need to redo retain and release functionality in my classes by own ?
Yes.
- Paul
_______________________________________________
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