]> git.jsancho.org Git - gacela.git/blobdiff - gacela_core.c
(no commit message)
[gacela.git] / gacela_core.c
index 83b15cf04aa9eaaabc53ae9e2502e74cbb0c56ac..47a849cfd6b4025df96ac4f9ab48d455102a7c52 100644 (file)
@@ -1,23 +1,24 @@
-#include <SDL/SDL.h>
-#include <GL/gl.h>
+//#include <SDL/SDL.h>
+//#include <GL/gl.h>
 #include <libguile.h>
 
 static void*
 register_functions (void* data)
 {
-       scm_c_define_gsubr ("prueba", 0, 0, 0, &prueba);
+  //   scm_c_define_gsubr ("prueba", 0, 0, 0, &prueba);
 //     scm_c_define_gsubr ("ver-contador", 0, 0, 0, &ver_contador);
-       scm_c_define_gsubr ("lanzar-bucle", 0, 0, 0, &lanzar_bucle);
+//     scm_c_define_gsubr ("lanzar-bucle", 0, 0, 0, &lanzar_bucle);
        return NULL;
 }
 
 
 int main (int argc, char *argv[]) {
-       scm_with_guile (&register_functions, NULL);
-       scm_c_eval_string("(set-repl-prompt! \"gacela>\")");
-       scm_c_eval_string("(use-modules (ice-9 readline))");
-       scm_c_eval_string("(activate-readline)");
+  //  scm_with_guile (&register_functions, NULL);
+  scm_init_guile();
+  scm_c_eval_string("(set-repl-prompt! \"gacela>\")");
+  scm_c_eval_string("(use-modules (ice-9 readline))");
+  scm_c_eval_string("(activate-readline)");
+  scm_c_eval_string("(format #t \"eo~%\")");
 //     scm_shell (argc, argv);
-       while (1) {}
 }