mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Add C++ extern "C" to gc_heap.h
This commit is contained in:
parent
a7584ae647
commit
5f161d03ce
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
||||||
|
|
||||||
#include "chibi/sexp.h"
|
#include "chibi/sexp.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Iterate the heap associated with the context argument 'ctx',
|
/* Iterate the heap associated with the context argument 'ctx',
|
||||||
calling user provided callbacks for the individual heap elements.
|
calling user provided callbacks for the individual heap elements.
|
||||||
|
|
||||||
|
@ -95,5 +99,8 @@ SEXP_API char* sexp_load_image_err();
|
||||||
*/
|
*/
|
||||||
SEXP_API void sexp_gc_heap_stats_print(sexp ctx);
|
SEXP_API void sexp_gc_heap_stats_print(sexp ctx);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ! SEXP_GC_HEAP_H */
|
#endif /* ! SEXP_GC_HEAP_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue