/* -- THIS FILE IS GENERATED - DO NOT EDIT *//* -*- Mode: C; c-basic-offset: 4 -*- */
#include <Python.h>
#line 33 "gcw.override"
#include <Python.h>
#include "pygobject.h"
#include "plplot.h"
#include "gcw.h"
#define PY_ARRAY_UNIQUE_SYMBOL gcwapi
#include "Numeric/arrayobject.h"
#line 17 "gcw.c"
/* ---------- types from other modules ---------- */
/* ---------- forward type declarations ---------- */
#line 25 "gcw.c"
/* ----------- functions ----------- */
static PyObject *
_wrap_gcw_use_text(PyObject *self, PyObject *args, PyObject *kwargs)
{
static char *kwlist[] = { "use_text", NULL };
int use_text;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_text", kwlist, &use_text))
return NULL;
gcw_use_text(use_text);
Py_INCREF(Py_None);
return Py_None;
}
static PyObject *
_wrap_gcw_use_pixmap(PyObject *self, PyObject *args, PyObject *kwargs)
{
static char *kwlist[] = { "use_pixmap", NULL };
int use_pixmap;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_pixmap", kwlist, &use_pixmap))
return NULL;
gcw_use_pixmap(use_pixmap);
Py_INCREF(Py_None);
return Py_None;
}
static PyObject *
_wrap_gcw_use_hrshsym(PyObject *self, PyObject *args, PyObject *kwargs)
{
static char *kwlist[] = { "use_hrshsym", NULL };
int use_hrshsym;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_hrshsym", kwlist, &use_hrshsym))
return NULL;
gcw_use_hrshsym(use_hrshsym);
Py_INCREF(Py_None);
return Py_None;
}
PyMethodDef gcw_functions[] = {
{ "use_text", (PyCFunction)_wrap_gcw_use_text, METH_VARARGS|METH_KEYWORDS },
{ "use_pixmap", (PyCFunction)_wrap_gcw_use_pixmap, METH_VARARGS|METH_KEYWORDS },
{ "use_hrshsym", (PyCFunction)_wrap_gcw_use_hrshsym, METH_VARARGS|METH_KEYWORDS },
{ NULL, NULL, 0 }
};
/* initialise stuff extension classes */
void
gcw_register_classes(PyObject *d)
{
#line 82 "gcw.c"
}
syntax highlighted by Code2HTML, v. 0.9.1