Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
9a8d2887
Commit
9a8d2887
authored
Mar 14, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ctypedef of size_t
parent
fcad2225
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/external_C_code.rst
docs/external_C_code.rst
+3
-3
No files found.
docs/external_C_code.rst
View file @
9a8d2887
...
@@ -119,15 +119,15 @@ match the C ones, and in some cases they shouldn't or can't. In particular:
...
@@ -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
to platform-dependent flavours of numeric types, you will need a
corresponding :keyword:`ctypedef` statement, but you don't need to match
corresponding :keyword:`ctypedef` statement, but you don't need to match
the type exactly, just use something of the right general kind (int, float,
the type exactly, just use something of the right general kind (int, float,
etc). For example,::
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
file defines it correctly). Conversion to and from Python types, if any, will also
be used for this new type.
be used for this new type.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment