File: gnm-py-interpreter.h

package info (click to toggle)
gnumeric 1.10.8-1squeeze5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 90,968 kB
  • ctags: 23,303
  • sloc: ansic: 248,235; xml: 51,894; sh: 10,491; makefile: 2,822; perl: 2,466; yacc: 1,272; python: 205
file content (26 lines) | stat: -rw-r--r-- 1,250 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef PLUGIN_GNM_PY_INTERPRETER_H
#define PLUGIN_GNM_PY_INTERPRETER_H

#include <glib.h>
#include <gnumeric.h>
#include "python-loader.h"

#define GNM_PY_INTERPRETER_TYPE     (gnm_py_interpreter_get_type ())
#define GNM_PY_INTERPRETER(o)       (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_PY_INTERPRETER_TYPE, GnmPyInterpreter))
#define IS_GNM_PY_INTERPRETER(o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_PY_INTERPRETER_TYPE))

GType gnm_py_interpreter_get_type (void);
typedef struct _GnmPyInterpreter GnmPyInterpreter;

GnmPyInterpreter *gnm_py_interpreter_new	(GOPlugin *plugin);
void              gnm_py_interpreter_destroy	(GnmPyInterpreter *interpreter,
						 GnmPyInterpreter *new_interpreter);
void              gnm_py_interpreter_switch_to	(GnmPyInterpreter *interpreter);
void              gnm_py_interpreter_run_string (GnmPyInterpreter *interpreter,
                                                 char const *str,
						 char **opt_stdout, char **opt_stderr);
char const       *gnm_py_interpreter_get_name	(GnmPyInterpreter *interpreter);
GOPlugin        *gnm_py_interpreter_get_plugin	(GnmPyInterpreter *interpreter);
int               gnm_py_interpreter_compare	(gconstpointer a, gconstpointer b);

#endif /* PLUGIN_GNM_PY_INTERPRETER_H */