gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: [GDL2/base] unableToSetNullForKey: / unableToSetNilForKey:


From: David Ayers
Subject: Re: RFC: [GDL2/base] unableToSetNullForKey: / unableToSetNilForKey:
Date: Tue, 25 Mar 2003 12:30:51 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Hello Everyone,

David Ayers wrote:

Commited:

       * Headers/gnustep/base/GSObjCRuntime.h
       * Source/Additions/GSObjCRuntime.m (GSObjCReplaceImplementation):
Added new function.


Before any one starts using this new function, I would like to make another proposal...I want to rename

IMP GSObjCReplaceImplementation(Class class, SEL sel, IMP imp);
to
IMP GSObjCReplaceMethod(Class class, SEL sel, IMP imp);

and propose a new

IMP GSObjCFindMethod(Class class, SEL sel);

which could be used in +load implementations unlike +instanceMethodForSelector:

There stilll won't be a guarentee that the searched method will actually be loaded during +load but at least this could be asserted before any replacement attempts.

Objections?

Cheers,
Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]