[project @ 2005-06-23 22:59:18 by unknown_lamer]
authorunknown_lamer <unknown>
Thu, 23 Jun 2005 22:59:18 +0000 (22:59 +0000)
committerunknown_lamer <unknown>
Thu, 23 Jun 2005 22:59:18 +0000 (22:59 +0000)
Made (bobotpp bot) actually work

scripts/bot.scm
source/Interp.C

index 271f286..984c64a 100644 (file)
@@ -7,4 +7,5 @@
 (define-module (bobotpp bot))
 
 (set-module-uses! %module-public-interface
-                 (list the-bot-module))
\ No newline at end of file
+                 (list (module-ref (resolve-module '(guile-user) #f)
+                                   'the-bot-module)))
\ No newline at end of file
index 5980d9a..c5c2fee 100644 (file)
@@ -228,6 +228,7 @@ Interp::Startup()
 {
   bot_module = scm_c_define_module ("the-bot-module", 
                                    interp_init_helper, 0);
+
   scm_c_call_with_current_module (bot_module,
                                  interp_post_startup_helper,
                                  bot_module);