#include <SDL/SDL_image.h>
#include <SDL/SDL_mixer.h>
#include <SDL/SDL_rotozoom.h>
-#include "gacela_SDL.h"
struct surface
{
info = SDL_GetVideoInfo ();
vi = scm_list_n (SCM_UNDEFINED);
- vi = scm_cons (scm_cons (scm_from_locale_symbol ("blit_hw"), scm_from_int (info->blit_hw)), vi);
- vi = scm_cons (scm_cons (scm_from_locale_symbol ("hw_available"), scm_from_int (info->hw_available)), vi);
+ vi = scm_cons (scm_cons (scm_from_utf8_symbol ("blit_hw"), scm_from_int (info->blit_hw)), vi);
+ vi = scm_cons (scm_cons (scm_from_utf8_symbol ("hw_available"), scm_from_int (info->hw_available)), vi);
return vi;
}
}
void
-gacela_sdl_init ()
+scm_init_gacela_sdl ()
{
- scm_c_define_module ("gacela sdl", init_gacela_sdl, NULL);
+ init_gacela_sdl (NULL);
}