blob: c350907da189c8999471deb809ca712221f84909 [file] [log] [blame]
Eric Smith8c663262007-08-25 02:26:07 +00001/* implements the unicode (as opposed to string) version of the
2 built-in formatters for string, int, float. that is, the versions
3 of int.__float__, etc., that take and return unicode objects */
4
5#include "Python.h"
Eric Smith8c663262007-08-25 02:26:07 +00006#include "../Objects/stringlib/unicodedefs.h"
7
Eric Smith4a7d76d2008-05-30 18:10:19 +00008
Eric Smith58a42242009-04-30 01:00:33 +00009#define FORMAT_STRING _PyUnicode_FormatAdvanced
10#define FORMAT_LONG _PyLong_FormatAdvanced
11#define FORMAT_FLOAT _PyFloat_FormatAdvanced
12#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
Eric Smith4a7d76d2008-05-30 18:10:19 +000013
Eric Smith8c663262007-08-25 02:26:07 +000014#include "../Objects/stringlib/formatter.h"