/* initialize the heap * heap_size is total desired size (in words) */ void initialize_heap(size_t heap_words) { heap = initspace(heap_words); #ifdef DEBUG_HEAP printf("initialize_heap called, size=%zu\n", heap_words); #endif }
int ca3Dbase::run(int argc, char **argv) { ca3Dglobal::CurrentCA = this; initglut(argc, argv); initspace(size, wrap); initgraphics(); initcamera(); glutMainLoop(); //call the main loop return 0; }
void ca3Dbase::start() { initspace(size, wrap); }