discuss-gnustep
[Top][All Lists]
Advanced

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

Make GSObjCMethodNames() more general ?


From: Yen-Ju Chen
Subject: Make GSObjCMethodNames() more general ?
Date: Sun, 25 Apr 2004 10:16:50 -0400

Hi,

 I try to use GSObjCMethodNames() in GSObjCRuntime.h
 to get both class and instance methods.

First, the comment in the source code said it will return class methods if the message is a class.
 But after a short test, it seems not the case.
 It always return instance methods.

 Second, it always return the methods of super-class recursively.
 Is it possible or worth to make it more general,
 such as NSArray *GSObjCMethodName(id obj, BOOL recursive)
 so that user can decide whether to get methods up to super class ?

 Yen-Ju

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/





reply via email to

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