trivial diff: use GC_FREE instead of GC_free
Simon Taylor
stayl at cs.mu.OZ.AU
Tue Aug 4 10:35:18 AEST 1998
Estimated hours taken: 0.1
runtime/mercury_heap.h:
runtime/mercury_tabling.h:
s/GC_free/GC_FREE/
s/GC_malloc/GC_MALLOC/
s/GC_realloc/GC_REALLOC/
Index: mercury_heap.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_heap.h,v
retrieving revision 1.8
diff -u -t -u -r1.8 mercury_heap.h
--- mercury_heap.h 1998/08/03 03:22:24 1.8
+++ mercury_heap.h 1998/08/03 23:46:23
@@ -88,7 +88,7 @@
(void)0 \
)
- #define MR_free_heap(ptr) GC_free((ptr))
+ #define MR_free_heap(ptr) GC_FREE((ptr))
#else /* not CONSERVATIVE_GC */
Index: mercury_tabling.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_tabling.h,v
retrieving revision 1.6
diff -u -t -u -r1.6 mercury_tabling.h
--- mercury_tabling.h 1998/07/26 14:32:39 1.6
+++ mercury_tabling.h 1998/08/03 23:48:37
@@ -87,13 +87,13 @@
#ifdef CONSERVATIVE_GC
#define table_allocate(size) \
- GC_malloc(size)
+ GC_MALLOC(size)
#define table_reallocate(pointer, size) \
- GC_realloc(pointer, size)
+ GC_REALLOC(pointer, size)
#define table_free(pointer) \
- GC_free(pointer)
+ GC_FREE(pointer)
#define MR_table_list_cons(h, t) list_cons((h),(t))
More information about the developers
mailing list