Changeset 391 for python/trunk/Objects/stringlib/stringdefs.h
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Objects/stringlib/stringdefs.h
r2 r391 12 12 #define STRINGLIB_PARSE_CODE "S" 13 13 #define STRINGLIB_EMPTY nullstring 14 #define STRINGLIB_ISSPACE Py_ISSPACE 15 #define STRINGLIB_ISLINEBREAK(x) ((x == '\n') || (x == '\r')) 14 16 #define STRINGLIB_ISDECIMAL(x) ((x >= '0') && (x <= '9')) 15 17 #define STRINGLIB_TODECIMAL(x) (STRINGLIB_ISDECIMAL(x) ? (x - '0') : -1) 16 #define STRINGLIB_TOUPPER toupper17 #define STRINGLIB_TOLOWER tolower18 #define STRINGLIB_TOUPPER Py_TOUPPER 19 #define STRINGLIB_TOLOWER Py_TOLOWER 18 20 #define STRINGLIB_FILL memset 19 21 #define STRINGLIB_STR PyString_AS_STRING … … 22 24 #define STRINGLIB_RESIZE _PyString_Resize 23 25 #define STRINGLIB_CHECK PyString_Check 24 #define STRINGLIB_C MP memcmp26 #define STRINGLIB_CHECK_EXACT PyString_CheckExact 25 27 #define STRINGLIB_TOSTR PyObject_Str 26 28 #define STRINGLIB_GROUPING _PyString_InsertThousandsGrouping 29 #define STRINGLIB_GROUPING_LOCALE _PyString_InsertThousandsGroupingLocale 30 31 #define STRINGLIB_WANT_CONTAINS_OBJ 1 27 32 28 33 #endif /* !STRINGLIB_STRINGDEFS_H */
Note:
See TracChangeset
for help on using the changeset viewer.