mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
(MemoryExhaustedException): Declare this global variable; note that
now objc-malloc.h cannot be included in .c files, only .m files. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1348 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dce5dfe236
commit
03d62d7e71
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Memory allocation definitions for Objective-C, easy garbage collection.
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993,1994, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -44,4 +44,6 @@ extern void (*objc_free)(void *);
|
|||
((VAR) = (TYPE *) (*objc_calloc)((unsigned)(NUM), sizeof(TYPE)))
|
||||
#define OBJC_FREE(PTR) (*objc_free)((PTR))
|
||||
|
||||
extern id MemoryExhaustedException;
|
||||
|
||||
#endif /* __objc_malloc_h_INCLUDE_GNU */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue