mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Pointer return fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16443 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44d5f83483
commit
5b7680da44
3 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,10 @@
|
|||
2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/callframe.m:
|
||||
* Source/cifframe.m:
|
||||
Fix error in returning pointer to struct values.
|
||||
|
||||
2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
|
||||
decoded selector name ... the NSPortCoder now does it.
|
||||
|
|
|
@ -483,7 +483,7 @@ callframe_do_call (DOContext *ctxt,
|
|||
so we can see what it is a pointer to. */
|
||||
tmptype++;
|
||||
ctxt->type = tmptype;
|
||||
ctxt->datum = *(void**)ctxt->datum;
|
||||
ctxt->datum = *(void**)retval;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -879,7 +879,7 @@ cifframe_do_call (DOContext *ctxt,
|
|||
so we can see what it is a pointer to. */
|
||||
tmptype++;
|
||||
ctxt->type = tmptype;
|
||||
ctxt->datum = *(void**)ctxt->datum;
|
||||
ctxt->datum = *(void**)retval;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue