@@ -121,15 +121,15 @@ There are two problems on non-IEEE platforms:
121121* What this does is undefined if *x* is a NaN or infinity.
122122* ``-0.0`` and ``+0.0`` produce the same bytes string.
123123
124- .. c:function:: int PyFloat_Pack2(double x, unsigned char *p, int le)
124+ .. c:function:: int PyFloat_Pack2(double x, char *p, int le)
125125
126126 Pack a C double as the IEEE 754 binary16 half-precision format.
127127
128- .. c :function :: int PyFloat_Pack4 (double x, unsigned char *p, int le)
128+ .. c :function :: int PyFloat_Pack4 (double x, char *p, int le)
129129
130130 Pack a C double as the IEEE 754 binary32 single precision format.
131131
132- .. c :function :: int PyFloat_Pack8 (double x, unsigned char *p, int le)
132+ .. c :function :: int PyFloat_Pack8 (double x, char *p, int le)
133133
134134 Pack a C double as the IEEE 754 binary64 double precision format.
135135
@@ -151,14 +151,14 @@ Return value: The unpacked double. On error, this is ``-1.0`` and
151151Note that on a non-IEEE platform this will refuse to unpack a bytes string that
152152represents a NaN or infinity.
153153
154- .. c:function:: double PyFloat_Unpack2(const unsigned char *p, int le)
154+ .. c:function:: double PyFloat_Unpack2(const char *p, int le)
155155
156156 Unpack the IEEE 754 binary16 half-precision format as a C double.
157157
158- .. c :function :: double PyFloat_Unpack4 (const unsigned char *p, int le)
158+ .. c :function :: double PyFloat_Unpack4 (const char *p, int le)
159159
160160 Unpack the IEEE 754 binary32 single precision format as a C double.
161161
162- .. c :function :: double PyFloat_Unpack8 (const unsigned char *p, int le)
162+ .. c :function :: double PyFloat_Unpack8 (const char *p, int le)
163163
164164 Unpack the IEEE 754 binary64 double precision format as a C double.
0 commit comments