diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-08-29 02:14:01 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-08-29 02:14:01 +0000 |
commit | 8cdc5f8399441f1a85c80330dc2628de95046f65 (patch) | |
tree | 2f29f76a2b2c752babc698083d095f7a400b891d /mixlib | |
parent | 864fa3611276709edd8e43c149b6d9cfd0d3f1f0 (diff) | |
download | mdk-8cdc5f8399441f1a85c80330dc2628de95046f65.tar.gz mdk-8cdc5f8399441f1a85c80330dc2628de95046f65.tar.bz2 |
new mix-guile commands
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_vm_command.c | 7 | ||||
-rw-r--r-- | mixlib/mix_vm_command.h | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c index 56f381d..07496c0 100644 --- a/mixlib/mix_vm_command.c +++ b/mixlib/mix_vm_command.c @@ -369,6 +369,13 @@ mix_vm_cmd_dispatcher_get_src_file_path (const mix_vm_cmd_dispatcher_t *dis) return PATH; } +const gchar * +mix_vm_cmd_dispatcher_get_program_path (const mix_vm_cmd_dispatcher_t *dis) +{ + g_return_val_if_fail (dis != NULL, NULL); + return dis->program; +} + /* install hooks */ void mix_vm_cmd_dispatcher_pre_hook (mix_vm_cmd_dispatcher_t *dis, diff --git a/mixlib/mix_vm_command.h b/mixlib/mix_vm_command.h index 465ed3e..b6672a0 100644 --- a/mixlib/mix_vm_command.h +++ b/mixlib/mix_vm_command.h @@ -166,6 +166,9 @@ extern const gchar * mix_vm_cmd_dispatcher_get_src_file_path (const mix_vm_cmd_dispatcher_t *dis); extern const gchar * +mix_vm_cmd_dispatcher_get_program_path (const mix_vm_cmd_dispatcher_t *dis); + +extern const gchar * mix_vm_cmd_dispatcher_get_editor (const mix_vm_cmd_dispatcher_t *dis); extern const gchar * @@ -229,8 +232,6 @@ mix_vm_cmd_dispatcher_global_post_hook (mix_vm_cmd_dispatcher_t *dis, mix_vm_cmd_global_hook_t hook, gpointer data); - - /* get the mix vm */ extern const mix_vm_t * mix_vm_cmd_dispatcher_get_vm (const mix_vm_cmd_dispatcher_t *dis); |