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
Gwenaël Samain
cython
Commits
3f861413
Commit
3f861413
authored
8 years ago
by
David Nogueira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error in example code in documentation.
parent
1c564021
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 @
3f861413
...
@@ -81,8 +81,8 @@ and the implementation in the file called :file:`Rectangle.cpp`:
...
@@ -81,8 +81,8 @@ and the implementation in the file called :file:`Rectangle.cpp`:
}
}
void Rectangle::getSize(int *width, int *height) {
void Rectangle::getSize(int *width, int *height) {
width
= x1 - x0;
(*width)
= x1 - x0;
height
= y1 - y0;
(*height)
= y1 - y0;
}
}
void Rectangle::move(int dx, int dy) {
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