]> granicus.if.org Git - php/commitdiff
- Don't need SUCCESS/FAILURE anymore
authorAndi Gutmans <andi@php.net>
Fri, 23 Jun 2000 00:07:05 +0000 (00:07 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 23 Jun 2000 00:07:05 +0000 (00:07 +0000)
Zend/zend_static_allocator.h

index dde3f7fddc38d7d1a1d87847c063308606e993cc..902780716ee796b170f91eaa0dedf7bf8ed345ff 100644 (file)
 
 #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 */