Eric Smith | a9f7d62 | 2008-02-17 19:46:49 +0000 | [diff] [blame] | 1 | /***********************************************************************/ |
| 2 | /* Implements the string (as opposed to unicode) version of the |
| 3 | built-in formatters for string, int, float. That is, the versions |
| 4 | of int.__float__, etc., that take and return string objects */ |
| 5 | |
| 6 | #include "Python.h" |
| 7 | #include "formatter_string.h" |
| 8 | |
| 9 | #include "../Objects/stringlib/stringdefs.h" |
| 10 | |
| 11 | #define FORMAT_STRING string__format__ |
| 12 | #define FORMAT_LONG string_long__format__ |
| 13 | #define FORMAT_INT string_int__format__ |
| 14 | #define FORMAT_FLOAT string_float__format__ |
| 15 | #include "../Objects/stringlib/formatter.h" |