Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
f9a2fc6b
Unverified
Commit
f9a2fc6b
authored
Nov 18, 2021
by
Peter Eastman
Committed by
GitHub
Nov 18, 2021
Browse files
Workaround for a behavior change in Doxygen 1.9.2 (#3336)
parent
f477b106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wrappers/generateWrappers.py
wrappers/generateWrappers.py
+3
-2
No files found.
wrappers/generateWrappers.py
View file @
f9a2fc6b
...
...
@@ -93,7 +93,8 @@ class WrapperGenerator:
'bool OpenMM::Discrete1DFunction::operator!='
,
'bool OpenMM::Discrete2DFunction::operator!='
,
'bool OpenMM::Discrete3DFunction::operator!='
]
]
self
.
skipMethods
=
[
s
.
replace
(
' '
,
''
)
for
s
in
self
.
skipMethods
]
self
.
hideClasses
=
[
'Kernel'
,
'KernelImpl'
,
'KernelFactory'
,
'ContextImpl'
,
'SerializationNode'
,
'SerializationProxy'
]
self
.
nodeByID
=
{}
...
...
@@ -143,7 +144,7 @@ class WrapperGenerator:
for
section
in
findNodes
(
classNode
,
"sectiondef"
,
kind
=
"public-static-func"
)
+
findNodes
(
classNode
,
"sectiondef"
,
kind
=
"public-func"
):
for
memberNode
in
findNodes
(
section
,
"memberdef"
,
kind
=
"function"
,
prot
=
"public"
):
methodDefinition
=
getText
(
"definition"
,
memberNode
)
if
methodDefinition
in
self
.
skipMethods
:
if
methodDefinition
.
replace
(
' '
,
''
)
in
self
.
skipMethods
:
continue
methodList
.
append
(
memberNode
)
return
methodList
...
...
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