summaryrefslogtreecommitdiffhomepage
path: root/mixguile/mixguile.h
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-08-28 16:38:06 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-08-28 16:38:06 +0000
commitfd346daffb1a4ec94a8a7b28d30efc37e2742f24 (patch)
tree1013e9930944ffb05d198d0cd4ade1c5573f00ce /mixguile/mixguile.h
parent6446df78afb4f3da2aa90e25b18b471fb272a8a9 (diff)
downloadmdk-fd346daffb1a4ec94a8a7b28d30efc37e2742f24.tar.gz
mdk-fd346daffb1a4ec94a8a7b28d30efc37e2742f24.tar.bz2
guile integration
Diffstat (limited to 'mixguile/mixguile.h')
-rw-r--r--mixguile/mixguile.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/mixguile/mixguile.h b/mixguile/mixguile.h
index 8897d29..6cc7918 100644
--- a/mixguile/mixguile.h
+++ b/mixguile/mixguile.h
@@ -32,12 +32,21 @@
/* the main function type */
typedef void (*main_func_t) (int argc, char *argv[]);
+
+/* enter and do the initialisation manually inside the guile world */
+#define mixguile_enter(argc,argv,main_fun) gh_enter (argc, argv, main_fun)
+
+/* load mixguile startup file */
+extern void
+mixguile_load_bootstrap ();
+
/*
initialise the guile command dispatcher and enter the provided
- main function. the mixlib is also initialised.
+ main function.
*/
extern void
-mixguile_init (int argc, char *argv[], main_func_t main_fun);
+mixguile_init (int argc, char *argv[], main_func_t main_fun,
+ mix_vm_cmd_dispatcher_t *dis);
/* set the command dispatcher */
extern void