~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to bindings/gnome2/python/gcw.c

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -- THIS FILE IS GENERATED - DO NOT EDIT *//* -*- Mode: C; c-basic-offset: 4 -*- */
 
2
 
 
3
#include <Python.h>
 
4
 
 
5
 
 
6
 
 
7
#line 33 "gcw.override"
 
8
#include <Python.h>        
 
9
       
 
10
#include "pygobject.h"
 
11
#include "plplot.h"
 
12
#include "gcw.h"
 
13
 
 
14
#define PY_ARRAY_UNIQUE_SYMBOL gcwapi
 
15
#include "Numeric/arrayobject.h"
 
16
#line 17 "gcw.c"
 
17
 
 
18
 
 
19
/* ---------- types from other modules ---------- */
 
20
 
 
21
 
 
22
/* ---------- forward type declarations ---------- */
 
23
 
 
24
#line 25 "gcw.c"
 
25
 
 
26
 
 
27
 
 
28
/* ----------- functions ----------- */
 
29
 
 
30
static PyObject *
 
31
_wrap_gcw_use_text(PyObject *self, PyObject *args, PyObject *kwargs)
 
32
{
 
33
    static char *kwlist[] = { "use_text", NULL };
 
34
    int use_text;
 
35
 
 
36
    if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_text", kwlist, &use_text))
 
37
        return NULL;
 
38
    gcw_use_text(use_text);
 
39
    Py_INCREF(Py_None);
 
40
    return Py_None;
 
41
}
 
42
 
 
43
static PyObject *
 
44
_wrap_gcw_use_pixmap(PyObject *self, PyObject *args, PyObject *kwargs)
 
45
{
 
46
    static char *kwlist[] = { "use_pixmap", NULL };
 
47
    int use_pixmap;
 
48
 
 
49
    if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_pixmap", kwlist, &use_pixmap))
 
50
        return NULL;
 
51
    gcw_use_pixmap(use_pixmap);
 
52
    Py_INCREF(Py_None);
 
53
    return Py_None;
 
54
}
 
55
 
 
56
static PyObject *
 
57
_wrap_gcw_use_hrshsym(PyObject *self, PyObject *args, PyObject *kwargs)
 
58
{
 
59
    static char *kwlist[] = { "use_hrshsym", NULL };
 
60
    int use_hrshsym;
 
61
 
 
62
    if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:gcw_use_hrshsym", kwlist, &use_hrshsym))
 
63
        return NULL;
 
64
    gcw_use_hrshsym(use_hrshsym);
 
65
    Py_INCREF(Py_None);
 
66
    return Py_None;
 
67
}
 
68
 
 
69
PyMethodDef gcw_functions[] = {
 
70
    { "use_text", (PyCFunction)_wrap_gcw_use_text, METH_VARARGS|METH_KEYWORDS },
 
71
    { "use_pixmap", (PyCFunction)_wrap_gcw_use_pixmap, METH_VARARGS|METH_KEYWORDS },
 
72
    { "use_hrshsym", (PyCFunction)_wrap_gcw_use_hrshsym, METH_VARARGS|METH_KEYWORDS },
 
73
    { NULL, NULL, 0 }
 
74
};
 
75
 
 
76
/* initialise stuff extension classes */
 
77
void
 
78
gcw_register_classes(PyObject *d)
 
79
{
 
80
 
 
81
#line 82 "gcw.c"
 
82
}