mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Change finalization to match MacOS-X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27581 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d304d9ee34
commit
f8441e1092
22 changed files with 116 additions and 95 deletions
|
@ -40,11 +40,11 @@
|
|||
#include <objc/Protocol.h>
|
||||
|
||||
|
||||
@interface NSDistantObject(GNUstepExtensions) <GCFinalization>
|
||||
@interface NSDistantObject(GNUstepExtensions)
|
||||
- (Class) classForPortCoder;
|
||||
- (const char *) selectorTypeForProxy: (SEL)selector;
|
||||
- (id) forward: (SEL)aSel :(arglist_t)frame;
|
||||
- (void) gcFinalize;
|
||||
- (void) finalize;
|
||||
@end
|
||||
|
||||
#define DO_FORWARD_INVOCATION(_SELX, _ARG1) ({ \
|
||||
|
@ -446,7 +446,7 @@ enum proxyLocation
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
[self finalize];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -825,7 +825,7 @@ enum proxyLocation
|
|||
/**
|
||||
* Used by the garbage collection system to tidy up when a proxy is destroyed.
|
||||
*/
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
if (_connection)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue