mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
GC changes for MacOS-X compatiblity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27630 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff7212cf67
commit
6bccff5fc7
20 changed files with 537 additions and 294 deletions
|
@ -2342,7 +2342,7 @@ void *
|
|||
GSAutoreleasedBuffer(unsigned size)
|
||||
{
|
||||
#if GS_WITH_GC
|
||||
return GC_malloc(size);
|
||||
return NSAllocateCollectable(size, NSScannedOption);
|
||||
#else
|
||||
#ifdef ALIGN
|
||||
#undef ALIGN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue