[Python-checkins] python/dist/src/Objects floatobject.c,2.120,2.121

Tim Peters tim.one@comcast.net
Fri, 21 Mar 2003 20:25:10 -0500


>> Modified Files:
>> 	floatobject.c
>> Log Message:
>> New private API functions _PyFloat_{Pack,Unpack}(4,8}.
>> ...

[Andrew MacIntyre]
> For those platforms that build cStringIO and struct as DL extensions,
> shouldn't these be declared with the PyAPI_FUNC() macro?

They are, in floatobject.h.  floatobject.c contains their definitions (as
opposed to their declarations); all uses of PyAPI_FUNC() are in header
files.