* Headers/Foundation/NSMethodSignature.h

(_internalMethodTypes): New instance variable.
        * Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
        the runtime signature separately from the mframe signature.
        Document.
        ([-dealloc]): Free new instance variable.
        ([-methodInfo]): Use _internalMethodTypes to build argument
        information.

        * Source/GSFFCallInvocation.m (GSInvocationCallback)
        * Source/GSFFIInvocation.m (GSInvocationCallback): Use the
        selector registered in the runtime for the receiver instead of
        the constructed selector from the stack to avoid mismatches in the
        runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-07-01 11:38:19 +00:00
parent a0b07ade13
commit 8712b7b537
5 changed files with 74 additions and 5 deletions

View file

@ -76,11 +76,12 @@ typedef struct {
const char *_methodTypes;
unsigned _argFrameLength;
unsigned _numArgs;
#ifdef STRICT_MACOS_X
#ifdef STRICT_MACOS_X
void *_dummy;
#else
NSArgumentInfo *_info;
#endif
const char *_internalMethodTypes;
}
/**