PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
plpy_util.h
Go to the documentation of this file.
1
/*--------------------------
2
* common utility functions
3
*--------------------------
4
*/
5
6
#ifndef PLPY_UTIL_H
7
#define PLPY_UTIL_H
8
9
#include "
plpython.h
"
10
11
extern
PGDLLEXPORT
PyObject
*
PLyUnicode_Bytes
(
PyObject
*
unicode
);
12
extern
PGDLLEXPORT
char
*
PLyUnicode_AsString
(
PyObject
*
unicode
);
13
14
extern
PGDLLEXPORT
PyObject
*
PLyUnicode_FromString
(
const
char
*s);
15
extern
PGDLLEXPORT
PyObject
*
PLyUnicode_FromStringAndSize
(
const
char
*s,
Py_ssize_t
size);
16
17
#endif
/* PLPY_UTIL_H */
PGDLLEXPORT
#define PGDLLEXPORT
Definition
c.h:1349
PLyUnicode_FromStringAndSize
#define PLyUnicode_FromStringAndSize
Definition
hstore_plpython.c:72
PLyUnicode_AsString
PGDLLEXPORT char * PLyUnicode_AsString(PyObject *unicode)
Definition
plpy_util.c:81
PLyUnicode_FromString
PGDLLEXPORT PyObject * PLyUnicode_FromString(const char *s)
Definition
plpy_util.c:116
PLyUnicode_Bytes
PGDLLEXPORT PyObject * PLyUnicode_Bytes(PyObject *unicode)
Definition
plpy_util.c:19
plpython.h
fb
static int fb(int x)
Definition
preproc-init.c:92
src
pl
plpython
plpy_util.h
Generated on Fri Jan 30 2026 18:13:17 for PostgreSQL Source Code by
1.9.8