diff options
| author | James Henstridge <james@daa.com.au> | 2002-01-21 15:14:21 +0000 |
|---|---|---|
| committer | James Henstridge <jamesh@src.gnome.org> | 2002-01-21 15:14:21 +0000 |
| commit | e81043d549e259dec4909e02c091e207a98d2ca8 (patch) | |
| tree | 1e953c0fc89d245dbad09df4dc66ea63f3c5d9bf /gobject/pygobject-private.h | |
| parent | 1b41a8ab0e347c30104e6c15195fa01416ebbdce (diff) | |
| download | pygobject-e81043d549e259dec4909e02c091e207a98d2ca8.tar.gz pygobject-e81043d549e259dec4909e02c091e207a98d2ca8.tar.xz pygobject-e81043d549e259dec4909e02c091e207a98d2ca8.zip | |
list extra source files.
2002-01-21 James Henstridge <james@daa.com.au>
* Makefile.am (gobjectmodule_la_SOURCES): list extra source files.
* pygobject-private.h (pyg_boxed_new): new header for functions
shared between files in gobjectmodule.
* pygboxed.c (pyg_register_boxed): move GBoxed handling code here.
Diffstat (limited to 'gobject/pygobject-private.h')
| -rw-r--r-- | gobject/pygobject-private.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h new file mode 100644 index 0000000..819950d --- /dev/null +++ b/gobject/pygobject-private.h @@ -0,0 +1,26 @@ +#ifndef _PYGOBJECT_PRIVATE_H_ +#define _PYGOBJECT_PRIVATE_H_ + +#ifdef _PYGOBJECT_H_ +# error "include pygobject.h or pygobject-private.h, but not both" +#endif + +#define _INSIDE_PYGOBJECT_ +#include "pygobject.h" + + +/* from gobjectmodule.c */ +PyObject *pyg_type_wrapper_new (GType type); +GType pyg_type_from_object (PyObject *obj); + + +/* from pygboxed.c */ +extern PyTypeObject PyGBoxed_Type; + +void pyg_register_boxed (PyObject *dict, const gchar *class_name, + GType boxed_type, PyTypeObject *type); +PyObject * pyg_boxed_new (GType boxed_type, gpointer boxed, + gboolean copy_boxed, gboolean own_ref); + + +#endif |
