realbasic-plugins
[Top] [All Lists]

Re: REALLoadObjectMethod leaking memory?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: REALLoadObjectMethod leaking memory?
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Sun, 15 Jan 2006 10:53:06 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <S dot 0000984862 at mail dot tempel dot org>

On Jan 15, 2006, at 10:42 AM, Thomas Tempelmann wrote:

But that is explicitly not supposed to be done (see the API docs),
because each object may have a different method address (probably
when it gets overridden)


That's right, but if you are interested in the supers method only, for example you want to use the DragItem.drag function, it is perfectly allowed.

The point was if leaking the millions of function pointers can be prevented with a static pointer, provided the signature of the call is found.

Alfred

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>