mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
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:
parent
23fb22bf40
commit
4e0ef853d3
6 changed files with 58 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue