@@ -124,15 +124,15 @@ There are two problems on non-IEEE platforms:
124124* What this does is undefined if *x* is a NaN or infinity.
125125* ``-0.0`` and ``+0.0`` produce the same bytes string.
126126
127- .. c:function:: int PyFloat_Pack2(double x, unsigned char *p, int le)
127+ .. c:function:: int PyFloat_Pack2(double x, char *p, int le)
128128
129129 Pack a C double as the IEEE 754 binary16 half-precision format.
130130
131- .. c :function :: int PyFloat_Pack4 (double x, unsigned char *p, int le)
131+ .. c :function :: int PyFloat_Pack4 (double x, char *p, int le)
132132
133133 Pack a C double as the IEEE 754 binary32 single precision format.
134134
135- .. c :function :: int PyFloat_Pack8 (double x, unsigned char *p, int le)
135+ .. c :function :: int PyFloat_Pack8 (double x, char *p, int le)
136136
137137 Pack a C double as the IEEE 754 binary64 double precision format.
138138
@@ -154,14 +154,14 @@ Return value: The unpacked double. On error, this is ``-1.0`` and
154154Note that on a non-IEEE platform this will refuse to unpack a bytes string that
155155represents a NaN or infinity.
156156
157- .. c:function:: double PyFloat_Unpack2(const unsigned char *p, int le)
157+ .. c:function:: double PyFloat_Unpack2(const char *p, int le)
158158
159159 Unpack the IEEE 754 binary16 half-precision format as a C double.
160160
161- .. c :function :: double PyFloat_Unpack4 (const unsigned char *p, int le)
161+ .. c :function :: double PyFloat_Unpack4 (const char *p, int le)
162162
163163 Unpack the IEEE 754 binary32 single precision format as a C double.
164164
165- .. c :function :: double PyFloat_Unpack8 (const unsigned char *p, int le)
165+ .. c :function :: double PyFloat_Unpack8 (const char *p, int le)
166166
167167 Unpack the IEEE 754 binary64 double precision format as a C double.
0 commit comments