mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
bindings: "inline namespace"
This commit is contained in:
parent
30d91e8ed6
commit
5dae278652
@ -658,6 +658,10 @@ class CppHeaderParser(object):
|
|||||||
stack_top = self.block_stack[-1]
|
stack_top = self.block_stack[-1]
|
||||||
context = stack_top[self.BLOCK_TYPE]
|
context = stack_top[self.BLOCK_TYPE]
|
||||||
|
|
||||||
|
if stmt.startswith('inline namespace'):
|
||||||
|
# emulate anonymous namespace
|
||||||
|
return "namespace", "", True, None
|
||||||
|
|
||||||
stmt_type = ""
|
stmt_type = ""
|
||||||
if end_token == "{":
|
if end_token == "{":
|
||||||
stmt_type = "block"
|
stmt_type = "block"
|
||||||
|
Loading…
Reference in New Issue
Block a user