Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SMIRR Jean-Loup
igor
Commits
b81f29ea
Commit
b81f29ea
authored
Jul 21, 2012
by
W. Trevor King
Browse files
Add closing semicolons (;) to C structures in docstrings.
parent
c6ffafde
Changes
1
Hide whitespace changes
Inline
Side-by-side
igor/struct.py
View file @
b81f29ea
...
...
@@ -373,12 +373,12 @@ class Structure (_struct.Struct):
struct run {
unsigned int time;
short data[2][3];
}
}
;
struct experiment {
unsigned short version;
struct run runs[2];
}
}
;
As:
...
...
@@ -632,7 +632,7 @@ class DynamicStructure (Structure):
struct vector {
unsigned int length;
short data[length];
}
}
;
You can generate a Python version of this structure in two ways,
with a dynamic ``length``, or with a dynamic ``data``. In both
...
...
Write
Preview
Supports
Markdown
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