Back to index

python3.2  3.2.2
Classes | Functions | Variables
noddy.c File Reference
#include <Python.h>

Go to the source code of this file.

Classes

struct  noddy_NoddyObject

Functions

PyMODINIT_FUNC PyInit_noddy (void)

Variables

static PyTypeObject noddy_NoddyType
static PyModuleDef noddymodule

Class Documentation

struct noddy_NoddyObject

Definition at line 3 of file noddy.c.


Function Documentation

Definition at line 41 of file noddy.c.

Here is the call graph for this function:


Variable Documentation

Initial value:
 {
    PyVarObject_HEAD_INIT(NULL, 0)
    "noddy.Noddy",             
    sizeof(noddy_NoddyObject), 
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    0,                         
    Py_TPFLAGS_DEFAULT,        
    "Noddy objects",           
}

Definition at line 8 of file noddy.c.

Initial value:
 {
    PyModuleDef_HEAD_INIT,
    "noddy",
    "Example module that creates an extension type.",
    -1,
    NULL, NULL, NULL, NULL, NULL
}

Definition at line 32 of file noddy.c.