* Headers/Foundation/NSMethodSignature.h:

(NSArgumentInfo): Document limitations of NSArgumentInfo's
        offset and registier information.  Match size for NO_GNUSTEP.
        (NSMethodSignature): Match ivar name with runtime information.

        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m
        * Source/NSInvocation.m
        (gs_method_for_receiver_and_selector)
        ([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
        GSGetInstanceMethod and GSGetClassMethod.
        * Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
        * Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
        * Source/NSObject.m ([+instanceMethodSignatureForSelector:])
        ([-methodSignatureForSelector:])
        ([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
        * Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
        * Source/NSProxy.m ([+methodSignatureForSelector])
        ([-methodSignatureForSelector]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-08-20 17:53:16 +00:00
parent b75f25ec18
commit 8cd30609bf
10 changed files with 78 additions and 53 deletions

View file

@ -45,6 +45,10 @@ typedef struct {
BOOL isReg; // extension, available only ifndef NO_GNUSTEP
} NSArgumentInfo;
</example>
* <p>NB. The offset and register information my not always be reliable.
* In the past it was dependant of locally maintained platform dependent
* information. In the future it may depend on layout information
* supplied by the compiler.<p>
*/
typedef struct {
int offset;
@ -54,6 +58,10 @@ typedef struct {
unsigned align;
unsigned qual;
BOOL isReg;
#else
unsigned _reserved1;
unsigned _reserved2;
BOOL _reserved3;
#endif
} NSArgumentInfo;
#endif
@ -77,7 +85,7 @@ typedef struct {
unsigned _argFrameLength;
unsigned _numArgs;
#ifdef STRICT_MACOS_X
void *_dummy;
void *_info;
#else
NSArgumentInfo *_info;
#endif