Commit 9a8d2887 authored by Robert Bradshaw's avatar Robert Bradshaw

Remove ctypedef of size_t

parent fcad2225
......@@ -119,15 +119,15 @@ match the C ones, and in some cases they shouldn't or can't. In particular:
4. If the header file uses ``typedef`` names such as :ctype:`size_t` to refer
4. If the header file uses ``typedef`` names such as :ctype:`word` to refer
to platform-dependent flavours of numeric types, you will need a
corresponding :keyword:`ctypedef` statement, but you don't need to match
the type exactly, just use something of the right general kind (int, float,
etc). For example,::
ctypedef int size_t
ctypedef int word
will work okay whatever the actual size of a :ctype:`size_t` is (provided the header
will work okay whatever the actual size of a :ctype:`word ` is (provided the header
file defines it correctly). Conversion to and from Python types, if any, will also
be used for this new type.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment