Adding Cplusplus extern "C"
Adding a void* resource_image pointers for SDL_image, ALLEGRO_BITMAP, ...