Introspection fix
[gnumeric.git] / plugins / python-loader / gnm-py-interpreter.h
blob1cfcaaa55365e7cc5b3b9bda4a0f6225afd53e88
1 #ifndef PLUGIN_GNM_PY_INTERPRETER_H
2 #define PLUGIN_GNM_PY_INTERPRETER_H
4 #include <glib.h>
5 #include <gnumeric.h>
6 #include "python-loader.h"
8 #define GNM_PY_INTERPRETER_TYPE (gnm_py_interpreter_get_type ())
9 #define GNM_PY_INTERPRETER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_PY_INTERPRETER_TYPE, GnmPyInterpreter))
10 #define GNM_IS_PY_INTERPRETER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_PY_INTERPRETER_TYPE))
12 GType gnm_py_interpreter_get_type (void);
13 typedef struct _GnmPyInterpreter GnmPyInterpreter;
15 GnmPyInterpreter *gnm_py_interpreter_new (GOPlugin *plugin);
16 void gnm_py_interpreter_destroy (GnmPyInterpreter *interpreter,
17 GnmPyInterpreter *new_interpreter);
18 void gnm_py_interpreter_switch_to (GnmPyInterpreter *interpreter);
19 void gnm_py_interpreter_run_string (GnmPyInterpreter *interpreter,
20 char const *str,
21 char **opt_stdout, char **opt_stderr);
22 char const *gnm_py_interpreter_get_name (GnmPyInterpreter *interpreter);
23 GOPlugin *gnm_py_interpreter_get_plugin (GnmPyInterpreter *interpreter);
24 int gnm_py_interpreter_compare (gconstpointer a, gconstpointer b);
26 #endif /* PLUGIN_GNM_PY_INTERPRETER_H */