1. Programming
is anybody out there experienced with the boehm gc?
this is a very simple function:
int fn1(){
int *p = (int *) GC_MALLOC(sizeof(int *));
return 0;
}after leaving fn1() gc should free p.
***
now another example:
int* fn2(){
int* p= (int *) GC_MALLOC(sizeof(int... (1 Reply)
Discussion started by: dodona
1 Replies