rework memory management for ffi

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30611 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-06-07 20:38:19 +00:00
parent 122c4b087a
commit acda1d1480
6 changed files with 58 additions and 15 deletions

View file

@ -27,6 +27,8 @@
#include <Foundation/NSInvocation.h>
@class NSMutableData;
typedef struct {
int offset;
unsigned size;
@ -39,7 +41,9 @@ typedef struct {
@interface GSFFIInvocation : NSInvocation
{
@public
uint8_t _retbuf[32]; // Store return values of up to 32 bytes here.
NSMutableData *_frame;
}
@end