Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c2aad8ad
Commit
c2aad8ad
authored
Dec 29, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong markup.
parent
a25658b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/ctypes.rst
Doc/library/ctypes.rst
+2
-2
No files found.
Doc/library/ctypes.rst
View file @
c2aad8ad
...
@@ -513,8 +513,8 @@ to be passed by value. This is also known as *passing parameters by reference*.
...
@@ -513,8 +513,8 @@ to be passed by value. This is also known as *passing parameters by reference*.
:mod:`ctypes` exports the :func:`byref` function which is used to pass
:mod:`ctypes` exports the :func:`byref` function which is used to pass
parameters by reference. The same effect can be achieved with the
parameters by reference. The same effect can be achieved with the
:
cfunc:`pointer` function, although :cfunc:`pointer` does a lot more work since
:
func:`pointer` function, although :func:`pointer` does a lot more work since it
it
constructs a real pointer object, so it is faster to use :func:`byref` if you
constructs a real pointer object, so it is faster to use :func:`byref` if you
don't need the pointer object in Python itself::
don't need the pointer object in Python itself::
>>> i = c_int()
>>> i = c_int()
...
...
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