I'm using some C functions like these: char *str = allocateNewString();
And this: Object *obj = constructObject(); // etc freeObject(obj); Do I need to free the memory in both cases? Can I someway register them on GC?
I'm using some C functions like these: char *str = allocateNewString();
And this: Object *obj = constructObject(); // etc freeObject(obj); Do I need to free the memory in both cases? Can I someway register them on GC?