Back to index

python3.2  3.2.2
Defines | Typedefs
sqlitecompat.h File Reference
#include "Python.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PyDict_CheckExact(op)   ((op)->ob_type == &PyDict_Type)
#define Py_CLEAR(op)
#define PyVarObject_HEAD_INIT(type, size)   PyObject_HEAD_INIT(type) size,
#define Py_TYPE(ob)   ((ob)->ob_type)

Typedefs

typedef int Py_ssize_t
typedef int(* lenfunc )(PyObject *)

Define Documentation

#define Py_CLEAR (   op)
Value:
do {                               \
                if (op) {                 \
                        PyObject *tmp = (PyObject *)(op);      \
                        (op) = NULL;             \
                        Py_DECREF(tmp);          \
                }                         \
        } while (0)

Definition at line 44 of file sqlitecompat.h.

#define Py_TYPE (   ob)    ((ob)->ob_type)

Definition at line 60 of file sqlitecompat.h.

#define PyDict_CheckExact (   op)    ((op)->ob_type == &PyDict_Type)

Definition at line 39 of file sqlitecompat.h.

Definition at line 55 of file sqlitecompat.h.


Typedef Documentation

typedef int(* lenfunc)(PyObject *)

Definition at line 33 of file sqlitecompat.h.

typedef int Py_ssize_t

Definition at line 32 of file sqlitecompat.h.