Skip to content

Commit

Permalink
Handle OPENMAYA_PRIVATE namespace in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yantor3d committed May 30, 2021
1 parent 26fde24 commit c55cea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/parse_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ def filter_header_lines(class_name, lines):
skip_next_statement = True
continue

# OPENMAYA_PRIVATE appears to aways be at the endo f a header
if line.startswith('OPENMAYA_PRIVATE'):
break

try:
# Remove trailing comments
line = line[:line.index('//')].strip()
Expand Down

0 comments on commit c55cea9

Please sign in to comment.