mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Correct FFI value setting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f7ab90f2ef
commit
6a90d806a3
6 changed files with 51 additions and 28 deletions
|
@ -54,7 +54,7 @@ typedef struct rs6000_args
|
|||
(CUM).stack_position = 0; \
|
||||
(CUM).regs_position = \
|
||||
((*(RTYPE)==_C_STRUCT_B || *(RTYPE)==_C_UNION_B || *(RTYPE)==_C_ARY_B) ? \
|
||||
4 + sizeof(void*) : 4); \
|
||||
sizeof(void*) : 4); \
|
||||
})
|
||||
|
||||
#define MFRAME_ARG_ENCODING(CUM, TYPE, STACK, DEST) \
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef struct rs6000_args
|
|||
(CUM).stack_position = 0; \
|
||||
(CUM).regs_position = \
|
||||
((*(RTYPE)==_C_STRUCT_B || *(RTYPE)==_C_UNION_B || *(RTYPE)==_C_ARY_B) ? \
|
||||
4 + sizeof(void*) : 4); \
|
||||
sizeof(void*) : 4); \
|
||||
})
|
||||
|
||||
#define MFRAME_ARG_ENCODING(CUM, TYPE, STACK, DEST) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue