| 1 |
/* |
| 2 |
* Copyright (c) 1996-1998 by Silicon Graphics. All rights reserved. |
| 3 |
* |
| 4 |
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
| 5 |
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
| 6 |
* |
| 7 |
* Permission is hereby granted to use or copy this program |
| 8 |
* for any purpose, provided the above notices are retained on all copies. |
| 9 |
* Permission to modify the code and to distribute modified code is granted, |
| 10 |
* provided the above notices are retained, and a notice that the code was |
| 11 |
* modified is included with the above copyright notice. |
| 12 |
*/ |
| 13 |
|
| 14 |
/* This file should never be included by clients directly. */ |
| 15 |
|
| 16 |
#ifndef GC_ALLOC_PTRS_H |
| 17 |
#define GC_ALLOC_PTRS_H |
| 18 |
|
| 19 |
#include "gc.h" |
| 20 |
|
| 21 |
#ifdef __cplusplus |
| 22 |
extern "C" { |
| 23 |
#endif |
| 24 |
|
| 25 |
GC_API void ** const GC_objfreelist_ptr; |
| 26 |
GC_API void ** const GC_aobjfreelist_ptr; |
| 27 |
GC_API void ** const GC_uobjfreelist_ptr; |
| 28 |
|
| 29 |
#ifdef GC_ATOMIC_UNCOLLECTABLE |
| 30 |
GC_API void ** const GC_auobjfreelist_ptr; |
| 31 |
#endif |
| 32 |
|
| 33 |
GC_API void GC_CALL GC_incr_bytes_allocd(size_t bytes); |
| 34 |
GC_API void GC_CALL GC_incr_bytes_freed(size_t bytes); |
| 35 |
|
| 36 |
#ifdef __cplusplus |
| 37 |
} /* extern "C" */ |
| 38 |
#endif |
| 39 |
|
| 40 |
#endif /* GC_ALLOC_PTRS_H */ |