#ifndef PLUGIN_GNM_PYTHON_H #define PLUGIN_GNM_PYTHON_H #include #include #include "gnm-py-interpreter.h" #define GNM_PYTHON_TYPE (gnm_python_get_type ()) #define GNM_PYTHON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_PYTHON_TYPE, GnmPython)) #define IS_GNM_PYTHON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_PYTHON_TYPE)) GType gnm_python_get_type (void); typedef struct _GnmPython GnmPython; GnmPython *gnm_python_object_get (ErrorInfo **err); GnmPyInterpreter *gnm_python_new_interpreter (GnmPython *gpy, GnmPlugin *plugin); void gnm_python_destroy_interpreter (GnmPython *gpy, GnmPyInterpreter *interpreter); GnmPyInterpreter *gnm_python_get_current_interpreter (GnmPython *gpy); GnmPyInterpreter *gnm_python_get_default_interpreter (GnmPython *gpy); GSList *gnm_python_get_interpreters (GnmPython *gpy); void gnm_python_clear_error_if_needed (GnmPython *gpy); #endif /* PLUGIN_GNM_PYTHON_H */