diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 12 | ||||
-rw-r--r-- | Include/object.h | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 9c18bbd..2c0e735 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -271,6 +271,18 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ + /* Implemented elsewhere: + + PyObject *PyObject_Unicode(PyObject *o); + + Compute the unicode representation of object, o. Returns the + unicode representation on success, NULL on failure. This is + the equivalent of the Python expression: unistr(o).) + + Called by the unistr() built-in function. + + */ + DL_IMPORT(int) PyCallable_Check(PyObject *o); /* diff --git a/Include/object.h b/Include/object.h index 0ebe805..515ce12 100644 --- a/Include/object.h +++ b/Include/object.h @@ -266,6 +266,7 @@ extern DL_IMPORT(PyTypeObject) PyType_Type; /* The type of type objects */ extern DL_IMPORT(int) PyObject_Print(PyObject *, FILE *, int); extern DL_IMPORT(PyObject *) PyObject_Repr(PyObject *); extern DL_IMPORT(PyObject *) PyObject_Str(PyObject *); +extern DL_IMPORT(PyObject *) PyObject_Unicode(PyObject *); extern DL_IMPORT(int) PyObject_Compare(PyObject *, PyObject *); extern DL_IMPORT(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int); extern DL_IMPORT(int) PyObject_RichCompareBool(PyObject *, PyObject *, int); |