diff options
author | Andi Gutmans <andi@php.net> | 2000-06-23 00:07:05 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-23 00:07:05 +0000 |
commit | fd7dc3024c9a55a99b05c9d7ba2c6e6f2ec3eb57 (patch) | |
tree | badd8771aece954970ed0efd54375682c9de369d /Zend/zend_static_allocator.h | |
parent | 947e17b1dafb4310723e5deae0309d41b2ac7870 (diff) | |
download | php-git-fd7dc3024c9a55a99b05c9d7ba2c6e6f2ec3eb57.tar.gz |
- Don't need SUCCESS/FAILURE anymore
Diffstat (limited to 'Zend/zend_static_allocator.h')
-rw-r--r-- | Zend/zend_static_allocator.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Zend/zend_static_allocator.h b/Zend/zend_static_allocator.h index dde3f7fddc..902780716e 100644 --- a/Zend/zend_static_allocator.h +++ b/Zend/zend_static_allocator.h @@ -21,7 +21,10 @@ #define ALLOCATOR_BLOCK_SIZE 400000 +/* Temporary */ typedef unsigned int zend_uint; +#define emalloc(s) malloc(s) +#define efree(p) free(p) typedef struct _Block { char *bp; @@ -39,10 +42,4 @@ int static_allocator_init(StaticAllocator *sa); char *static_allocator_allocate(StaticAllocator *sa, zend_uint size); void static_allocator_destroy(StaticAllocator *sa); -/* Temporary */ -#define emalloc(s) malloc(s) -#define efree(p) free(p) -#define SUCCESS 0 -#define FAILURE -1 - #endif /* _STATIC_ALLOCATOR_H */ |