+++ /dev/null
-bits shared by the stringobject and unicodeobject implementations (and\r
-possibly other modules, in a not too distant future).\r
-\r
-the stuff in here is included into relevant places; see the individual\r
-source files for details.\r
-\r
---------------------------------------------------------------------\r
-the following defines used by the different modules:\r
-\r
-STRINGLIB_CHAR\r
-\r
- the type used to hold a character (char or Py_UNICODE)\r
-\r
-STRINGLIB_EMPTY\r
-\r
- a PyObject representing the empty string, only to be used if\r
- STRINGLIB_MUTABLE is 0\r
-\r
-Py_ssize_t STRINGLIB_LEN(PyObject*)\r
-\r
- returns the length of the given string object (which must be of the\r
- right type)\r
-\r
-PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t)\r
-\r
- creates a new string object\r
-\r
-STRINGLIB_CHAR* STRINGLIB_STR(PyObject*)\r
-\r
- returns the pointer to the character data for the given string\r
- object (which must be of the right type)\r
-\r
-int STRINGLIB_CHECK_EXACT(PyObject *)\r
-\r
- returns true if the object is an instance of our type, not a subclass\r
-\r
-STRINGLIB_MUTABLE\r
-\r
- must be 0 or 1 to tell the cpp macros in stringlib code if the object\r
- being operated on is mutable or not\r