X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fsdl.c;h=0f96fb80cc045360ee459ec233e2338882d25dcf;hb=75b895caf7380de4b6dedbe7ddd5bff26031b5c3;hp=8b9791a18ea8babc48620bfe2b924d39b5119ed3;hpb=86451d8c192bed842aa22d8ed14805a8b725beff;p=gacela.git diff --git a/src/sdl.c b/src/sdl.c index 8b9791a..0f96fb8 100644 --- a/src/sdl.c +++ b/src/sdl.c @@ -21,7 +21,6 @@ #include #include #include -#include "gacela_SDL.h" struct surface { @@ -275,8 +274,8 @@ gacela_SDL_GetVideoInfo (void) 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; } @@ -531,7 +530,7 @@ init_gacela_sdl (void *data) } void -gacela_sdl_init () +scm_init_gacela_sdl () { - scm_c_define_module ("gacela sdl", init_gacela_sdl, NULL); + init_gacela_sdl (NULL); }