File: py-gnumeric.h

package info (click to toggle)
gnumeric 1.12.32-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 129,260 kB
  • ctags: 25,173
  • sloc: ansic: 288,510; xml: 55,625; perl: 5,366; sh: 4,503; makefile: 2,905; yacc: 1,330; python: 203
file content (20 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef PLUGIN_PY_GNUMERIC_H
#define PLUGIN_PY_GNUMERIC_H

#include <Python.h>
#include <glib.h>
#include <goffice/goffice.h>
#include "gnm-py-interpreter.h"
#include <gnumeric-fwd.h>

void     py_initgnumeric (GnmPyInterpreter *interpreter);

GnmValue *call_python_function	 (PyObject *python_fn,
				  GnmEvalPos const *eval_pos,
				  gint n_args, GnmValue const * const *args);
gchar    *py_exc_to_string	 (void);
PyObject *py_new_Sheet_object	 (Sheet *sheet);
PyObject *py_new_Workbook_object (Workbook *wb);
PyObject *py_new_Gui_object	 (WBCGtk *wbcg);

#endif /* PLUGIN_PY_GNUMERIC_H */