version 1.11, 2012/12/17 07:20:45 |
version 1.13, 2013/06/13 18:40:31 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/parse/gc_risa.c,v 1.10 2011/05/11 06:03:53 ohara Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/parse/gc_risa.c,v 1.12 2013/06/13 07:45:28 ohara Exp $ */ |
|
|
#if defined(VISUAL) |
#if defined(VISUAL) |
#include "private/gcconfig.h" |
#include "private/gcconfig.h" |
|
|
#include <time.h> |
#include <time.h> |
|
|
void error(char *); |
void error(char *); |
|
void int_handler(); |
|
|
int *StackBottom; |
int *StackBottom; |
int in_gc, caught_intr; |
int in_gc, caught_intr; |
Line 71 void Risa_GC_free(void *p) |
|
Line 72 void Risa_GC_free(void *p) |
|
if ( caught_intr ) { caught_intr = 0; int_handler(); } |
if ( caught_intr ) { caught_intr = 0; int_handler(); } |
} |
} |
|
|
|
size_t get_heapsize() |
int get_heapsize() |
|
{ |
{ |
return GC_get_heap_size(); |
return GC_get_heap_size(); |
} |
} |