view osdep/shmem.h @ 13316:0d17bef9894d

* Changed malloc and strncpy to strdup. Less code. * More error checking. If malloc or strdup fails, print message and exit. * Free malloc'd memory when uninit is called. * Moved default of jpeg_outdir to preinit, so it is always malloc'd and can easily be freed at uninit.
author ivo
date Sat, 11 Sep 2004 19:59:31 +0000
parents 3c856c0fc45e
children 6ac1ece1f9fe
line wrap: on
line source


void* shmem_alloc(int size);
void shmem_free(void* p,int size);