Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.txt | D | 03-May-2024 | 1.1 KiB | 41 | 24 | |
asciilib.h | D | 03-May-2024 | 1.2 KiB | 30 | 22 | |
codecs.h | D | 03-May-2024 | 27.2 KiB | 823 | 683 | |
count.h | D | 03-May-2024 | 666 | 28 | 18 | |
ctype.h | D | 03-May-2024 | 2.5 KiB | 111 | 94 | |
eq.h | D | 03-May-2024 | 844 | 26 | 18 | |
fastsearch.h | D | 03-May-2024 | 7.5 KiB | 251 | 184 | |
find.h | D | 03-May-2024 | 3.2 KiB | 120 | 83 | |
find_max_char.h | D | 03-May-2024 | 3.7 KiB | 135 | 110 | |
join.h | D | 03-May-2024 | 3.8 KiB | 141 | 122 | |
localeutil.h | D | 03-May-2024 | 5.7 KiB | 181 | 106 | |
partition.h | D | 03-May-2024 | 3 KiB | 117 | 95 | |
replace.h | D | 03-May-2024 | 1.8 KiB | 54 | 38 | |
split.h | D | 03-May-2024 | 11 KiB | 391 | 316 | |
stringdefs.h | D | 03-May-2024 | 1.2 KiB | 29 | 23 | |
transmogrify.h | D | 03-May-2024 | 18.5 KiB | 702 | 532 | |
ucs1lib.h | D | 03-May-2024 | 1.2 KiB | 31 | 22 | |
ucs2lib.h | D | 03-May-2024 | 1.2 KiB | 30 | 22 | |
ucs4lib.h | D | 03-May-2024 | 1.2 KiB | 30 | 22 | |
undef.h | D | 03-May-2024 | 248 | 12 | 10 | |
unicode_format.h | D | 03-May-2024 | 40.1 KiB | 1,285 | 868 | |
unicodedefs.h | D | 03-May-2024 | 1.2 KiB | 33 | 24 |
README.txt
1bits shared by the bytesobject and unicodeobject implementations (and 2possibly other modules, in a not too distant future). 3 4the stuff in here is included into relevant places; see the individual 5source files for details. 6 7-------------------------------------------------------------------- 8the following defines used by the different modules: 9 10STRINGLIB_CHAR 11 12 the type used to hold a character (char or Py_UNICODE) 13 14STRINGLIB_EMPTY 15 16 a PyObject representing the empty string, only to be used if 17 STRINGLIB_MUTABLE is 0 18 19Py_ssize_t STRINGLIB_LEN(PyObject*) 20 21 returns the length of the given string object (which must be of the 22 right type) 23 24PyObject* STRINGLIB_NEW(STRINGLIB_CHAR*, Py_ssize_t) 25 26 creates a new string object 27 28STRINGLIB_CHAR* STRINGLIB_STR(PyObject*) 29 30 returns the pointer to the character data for the given string 31 object (which must be of the right type) 32 33int STRINGLIB_CHECK_EXACT(PyObject *) 34 35 returns true if the object is an instance of our type, not a subclass 36 37STRINGLIB_MUTABLE 38 39 must be 0 or 1 to tell the cpp macros in stringlib code if the object 40 being operated on is mutable or not 41