Remove pg_regex_collation
[pgsql.git] / src / pl / plpython / plpy_util.h
blob6f491b0f95b6417a6f68c6ce48942d5b252b61c6
1 /*--------------------------
2 * common utility functions
3 *--------------------------
4 */
6 #ifndef PLPY_UTIL_H
7 #define PLPY_UTIL_H
9 #include "plpython.h"
11 extern PGDLLEXPORT PyObject *PLyUnicode_Bytes(PyObject *unicode);
12 extern PGDLLEXPORT char *PLyUnicode_AsString(PyObject *unicode);
14 extern PGDLLEXPORT PyObject *PLyUnicode_FromString(const char *s);
15 extern PGDLLEXPORT PyObject *PLyUnicode_FromStringAndSize(const char *s, Py_ssize_t size);
17 #endif /* PLPY_UTIL_H */