~ubuntu-branches/ubuntu/natty/libgc/natty-updates

« back to all changes in this revision

Viewing changes to include/gc_amiga_redirects.h

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Murray
  • Date: 2002-03-25 20:27:15 UTC
  • Revision ID: james.westby@ubuntu.com-20020325202715-terff7kao1wrwok5
Tags: upstream-6.0+6.1alpha4
ImportĀ upstreamĀ versionĀ 6.0+6.1alpha4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GC_AMIGA_REDIRECTS_H
 
2
 
 
3
# define GC_AMIGA_REDIRECTS_H
 
4
 
 
5
# if ( defined(_AMIGA) && !defined(GC_AMIGA_MAKINGLIB) )
 
6
    extern void *GC_amiga_realloc(void *old_object,size_t new_size_in_bytes);
 
7
#   define GC_realloc(a,b) GC_amiga_realloc(a,b)
 
8
    extern void GC_amiga_set_toany(void (*func)(void));
 
9
    extern int GC_amiga_free_space_divisor_inc;
 
10
    extern void *(*GC_amiga_allocwrapper_do) \
 
11
        (size_t size,void *(*AllocFunction)(size_t size2));
 
12
#   define GC_malloc(a) \
 
13
        (*GC_amiga_allocwrapper_do)(a,GC_malloc)
 
14
#   define GC_malloc_atomic(a) \
 
15
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic)
 
16
#   define GC_malloc_uncollectable(a) \
 
17
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_uncollectable)
 
18
#   define GC_malloc_stubborn(a) \
 
19
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_stubborn)
 
20
#   define GC_malloc_atomic_uncollectable(a) \
 
21
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_uncollectable)
 
22
#   define GC_malloc_ignore_off_page(a) \
 
23
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_ignore_off_page)
 
24
#   define GC_malloc_atomic_ignore_off_page(a) \
 
25
        (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page)
 
26
# endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */
 
27
 
 
28
#endif /* GC_AMIGA_REDIRECTS_H */
 
29
 
 
30