mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Ignore all global operator functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,12 +86,12 @@ def run():
|
||||
c.find('operator*=').findOverload('wxInt32').ignore()
|
||||
c.find('operator/=').findOverload('wxInt32').ignore()
|
||||
|
||||
# ignore some of the global operators too
|
||||
|
||||
# ignore all the global operators too, there is no equivallent in Python
|
||||
for item in module:
|
||||
if isinstance(item, etgtools.FunctionDef) and item.type == 'wxPoint2DInt':
|
||||
item.ignore()
|
||||
if item.name in ['operator*', 'operator/'] and 'wxInt32' in item.argsString:
|
||||
item.ignore()
|
||||
if isinstance(item, etgtools.FunctionDef) and item.name.startswith('operator'):
|
||||
for f in item.all():
|
||||
f.ignore()
|
||||
|
||||
|
||||
c = module.find('wxRect2DDouble')
|
||||
|
||||
Reference in New Issue
Block a user