Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs

plpython.h File Reference

#include <Python.h>
#include <compile.h>
#include <eval.h>
#include "plpy_util.h"
Include dependency graph for plpython.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PY_SSIZE_T_MAX   INT_MAX
#define PY_SSIZE_T_MIN   INT_MIN
#define PyBytes_AsString   PyString_AsString
#define PyBytes_FromStringAndSize   PyString_FromStringAndSize
#define PyBytes_Size   PyString_Size
#define PyObject_Bytes   PyObject_Str
#define PyVarObject_HEAD_INIT(type, size)   PyObject_HEAD_INIT(type) size,
#define TEXTDOMAIN   PG_TEXTDOMAIN("plpython")

Typedefs

typedef int Py_ssize_t

Define Documentation

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 66 of file plpython.h.

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 67 of file plpython.h.

#define PyBytes_AsString   PyString_AsString
#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 85 of file plpython.h.

Referenced by PLyBytes_FromBytea(), and PLyUnicode_Bytes().

#define PyBytes_Size   PyString_Size

Definition at line 86 of file plpython.h.

Referenced by PLyObject_ToBytea(), and PLyObject_ToDatum().

#define PyObject_Bytes   PyObject_Str

Definition at line 87 of file plpython.h.

Referenced by PLyObject_ToBytea().

#define PyVarObject_HEAD_INIT (   type,
  size 
)    PyObject_HEAD_INIT(type) size,

Definition at line 110 of file plpython.h.

#define TEXTDOMAIN   PG_TEXTDOMAIN("plpython")

Definition at line 121 of file plpython.h.


Typedef Documentation

typedef int Py_ssize_t

Definition at line 64 of file plpython.h.