Re: How to get a pointer to the current class handler callback?
Re: How to get a pointer to the current class handler callback?
- Subject: Re: How to get a pointer to the current class handler callback?
- From: Sherm Pendley <email@hidden>
- Date: Sun, 27 Oct 2002 13:58:27 -0500
On Sunday, October 27, 2002, at 01:41 PM, OS X AIBO wrote:
The default class handler just returns 0.
Of course - that's what it's documented to do. But that's not what I
asked.
I maintain a language bridge, and I'm using a class handler callback to
check for "foreign" classes and register Objective-C wrappers for them
when needed. If my callback is able to do that; i.e. if the named class
exists in the "foreign" language's name space, it returns 1.
The problem is that another language bridge may want to do the same. So,
instead of simply returning 0 if my handler cannot load and register the
needed class, I'd like to check for and call any previously-registered
handlers to allow them the chance of doing the same.
To put it another way: Is there any way to allow for multiple class
handler functions?
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.