mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Darwin fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9680 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff4e61efee
commit
5c3e777f95
4 changed files with 14 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-04-23 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
|
||||
* Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
|
||||
* Source/o_vscanf.c: include objc-gnu2next.h
|
||||
|
||||
2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Testing/benchmark.m (bench_object): Use a choice of the 10 more
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define _GNUstep_H_NSLock
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#ifdef NeXT_RUNTIMME
|
||||
#ifdef NeXT_RUNTIME
|
||||
#include <base/thr-mach.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -131,12 +131,12 @@ objc_free(void *mem);
|
|||
** Users should call the normal objc routines above for
|
||||
** memory allocation and disposal within their programs.
|
||||
*/
|
||||
objc_EXPORT void *(*_objc_malloc)(size_t);
|
||||
objc_EXPORT void *(*_objc_atomic_malloc)(size_t);
|
||||
objc_EXPORT void *(*_objc_valloc)(size_t);
|
||||
objc_EXPORT void *(*_objc_realloc)(void *, size_t);
|
||||
objc_EXPORT void *(*_objc_calloc)(size_t, size_t);
|
||||
objc_EXPORT void (*_objc_free)(void *);
|
||||
extern void *(*_objc_malloc)(size_t);
|
||||
extern void *(*_objc_atomic_malloc)(size_t);
|
||||
extern void *(*_objc_valloc)(size_t);
|
||||
extern void *(*_objc_realloc)(void *, size_t);
|
||||
extern void *(*_objc_calloc)(size_t, size_t);
|
||||
extern void (*_objc_free)(void *);
|
||||
|
||||
#endif /* NeXT_RUNTIME */
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ Cambridge, MA 02111, USA. */
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <objc/objc-api.h>
|
||||
#include <base/objc-gnu2next.h>
|
||||
|
||||
extern double strtod(const char *str, char **ptr);
|
||||
extern long strtol(const char *str, char** ptr, int base);
|
||||
|
|
Loading…
Reference in a new issue