Back to index

python3.2  3.2.2
Defines
stringdefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STRINGLIB_IS_UNICODE   0
#define STRINGLIB_OBJECT   PyBytesObject
#define STRINGLIB_CHAR   char
#define STRINGLIB_TYPE_NAME   "string"
#define STRINGLIB_PARSE_CODE   "S"
#define STRINGLIB_EMPTY   nullstring
#define STRINGLIB_ISSPACE   Py_ISSPACE
#define STRINGLIB_ISLINEBREAK(x)   ((x == '\n') || (x == '\r'))
#define STRINGLIB_ISDECIMAL(x)   ((x >= '0') && (x <= '9'))
#define STRINGLIB_TODECIMAL(x)   (STRINGLIB_ISDECIMAL(x) ? (x - '0') : -1)
#define STRINGLIB_TOUPPER   Py_TOUPPER
#define STRINGLIB_TOLOWER   Py_TOLOWER
#define STRINGLIB_FILL   memset
#define STRINGLIB_STR   PyBytes_AS_STRING
#define STRINGLIB_LEN   PyBytes_GET_SIZE
#define STRINGLIB_NEW   PyBytes_FromStringAndSize
#define STRINGLIB_RESIZE   _PyBytes_Resize
#define STRINGLIB_CHECK   PyBytes_Check
#define STRINGLIB_CHECK_EXACT   PyBytes_CheckExact
#define STRINGLIB_TOSTR   PyObject_Str
#define STRINGLIB_GROUPING   _PyBytes_InsertThousandsGrouping
#define STRINGLIB_GROUPING_LOCALE   _PyBytes_InsertThousandsGroupingLocale
#define STRINGLIB_TOASCII   PyObject_Repr

Define Documentation

#define STRINGLIB_CHAR   char

Definition at line 10 of file stringdefs.h.

Definition at line 25 of file stringdefs.h.

Definition at line 26 of file stringdefs.h.

Definition at line 13 of file stringdefs.h.

#define STRINGLIB_FILL   memset

Definition at line 20 of file stringdefs.h.

#define STRINGLIB_GROUPING   _PyBytes_InsertThousandsGrouping

Definition at line 28 of file stringdefs.h.

#define STRINGLIB_GROUPING_LOCALE   _PyBytes_InsertThousandsGroupingLocale

Definition at line 29 of file stringdefs.h.

#define STRINGLIB_IS_UNICODE   0

Definition at line 7 of file stringdefs.h.

#define STRINGLIB_ISDECIMAL (   x)    ((x >= '0') && (x <= '9'))

Definition at line 16 of file stringdefs.h.

#define STRINGLIB_ISLINEBREAK (   x)    ((x == '\n') || (x == '\r'))

Definition at line 15 of file stringdefs.h.

Definition at line 14 of file stringdefs.h.

Definition at line 22 of file stringdefs.h.

Definition at line 23 of file stringdefs.h.

Definition at line 9 of file stringdefs.h.

#define STRINGLIB_PARSE_CODE   "S"

Definition at line 12 of file stringdefs.h.

Definition at line 24 of file stringdefs.h.

Definition at line 21 of file stringdefs.h.

Definition at line 30 of file stringdefs.h.

#define STRINGLIB_TODECIMAL (   x)    (STRINGLIB_ISDECIMAL(x) ? (x - '0') : -1)

Definition at line 17 of file stringdefs.h.

Definition at line 19 of file stringdefs.h.

Definition at line 27 of file stringdefs.h.

Definition at line 18 of file stringdefs.h.

#define STRINGLIB_TYPE_NAME   "string"

Definition at line 11 of file stringdefs.h.