(mframe_build_return): In accordance with Objective C runtime

change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-09-07 20:04:13 +00:00
parent 6c3c3d44ee
commit 60b44c4a07

View file

@ -833,7 +833,7 @@ mframe_build_return (arglist_t argframe,
tmptype++;
/* Allocate some memory to hold the value we're pointing to. */
*(void**)retframe =
(*objc_malloc) (objc_sizeof_type (tmptype));
objc_malloc (objc_sizeof_type (tmptype));
/* We are responsible for making sure this memory gets free'd
eventually. Ask MallocAddress class to autorelease it. */
[MallocAddress autoreleaseMallocAddress: *(void**)retframe];