mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Revert "[sipify] close type header code earlier"
This reverts commit 0fe88cf945fd2da710453e2a55a4cdc4e2f82802.
This commit is contained in:
parent
48ab44ef11
commit
2f2c54095c
@ -1577,10 +1577,6 @@ while CONTEXT.line_idx < CONTEXT.line_count:
|
||||
continue
|
||||
|
||||
if re.match(r"^\s*#ifdef SIP_RUN", CONTEXT.current_line):
|
||||
# TYPE HEADER CODE
|
||||
if CONTEXT.header_code and not CONTEXT.sip_run:
|
||||
CONTEXT.header_code = False
|
||||
write_output("HCE", "%End\n")
|
||||
CONTEXT.sip_run = True
|
||||
if CONTEXT.access[-1] == Visibility.Private:
|
||||
dbg_info("writing private content (1)")
|
||||
|
Loading…
x
Reference in New Issue
Block a user