Back to index

plt-scheme  4.2.1
gc_amiga_redirects.h
Go to the documentation of this file.
00001 #ifndef GC_AMIGA_REDIRECTS_H
00002 
00003 # define GC_AMIGA_REDIRECTS_H
00004 
00005 # if ( defined(_AMIGA) && !defined(GC_AMIGA_MAKINGLIB) )
00006     extern void *GC_amiga_realloc(void *old_object,size_t new_size_in_bytes);
00007 #   define GC_realloc(a,b) GC_amiga_realloc(a,b)
00008     extern void GC_amiga_set_toany(void (*func)(void));
00009     extern int GC_amiga_free_space_divisor_inc;
00010     extern void *(*GC_amiga_allocwrapper_do) \
00011        (size_t size,void *(*AllocFunction)(size_t size2));
00012 #   define GC_malloc(a) \
00013        (*GC_amiga_allocwrapper_do)(a,GC_malloc)
00014 #   define GC_malloc_atomic(a) \
00015        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic)
00016 #   define GC_malloc_uncollectable(a) \
00017        (*GC_amiga_allocwrapper_do)(a,GC_malloc_uncollectable)
00018 #   define GC_malloc_stubborn(a) \
00019        (*GC_amiga_allocwrapper_do)(a,GC_malloc_stubborn)
00020 #   define GC_malloc_atomic_uncollectable(a) \
00021        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_uncollectable)
00022 #   define GC_malloc_ignore_off_page(a) \
00023        (*GC_amiga_allocwrapper_do)(a,GC_malloc_ignore_off_page)
00024 #   define GC_malloc_atomic_ignore_off_page(a) \
00025        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page)
00026 # endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */
00027 
00028 #endif /* GC_AMIGA_REDIRECTS_H */
00029 
00030