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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
36738579
Commit
36738579
authored
8 years ago
by
David Nogueira
Committed by
Stefan Behnel
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error in example code in documentation.
parent
02d8bcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/src/userguide/wrapping_CPlusPlus.rst
docs/src/userguide/wrapping_CPlusPlus.rst
+2
-2
No files found.
docs/src/userguide/wrapping_CPlusPlus.rst
View file @
36738579
...
...
@@ -81,8 +81,8 @@ and the implementation in the file called :file:`Rectangle.cpp`:
}
void Rectangle::getSize(int *width, int *height) {
width
= x1 - x0;
height
= y1 - y0;
(*width)
= x1 - x0;
(*height)
= y1 - y0;
}
void Rectangle::move(int dx, int dy) {
...
...
This diff is collapsed.
Click to expand it.
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