From b0ae30947aa6aa0d72e69fca8d8f73601c755428 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Wed, 10 Aug 2016 15:52:27 +0200 Subject: [PATCH] Update boost_python_generator.py --- src/py/autowig/boost_python_generator.py | 56 ++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/src/py/autowig/boost_python_generator.py b/src/py/autowig/boost_python_generator.py index 1ca3cb81..1db4b0ac 100644 --- a/src/py/autowig/boost_python_generator.py +++ b/src/py/autowig/boost_python_generator.py @@ -6,12 +6,62 @@ import os import parse -from .asg import * +from .asg import AbstractSemanticGraph, \ + ClassTemplateSpecializationProxy, \ + SignedFloatingPointTypeProxy, \ + SignedLongDoubleTypeProxy, \ + WCharTypeProxy, \ + ComplexLongDoubleTypeProxy, \ + EnumeratorProxy, \ + ClassTemplatePartialSpecializationProxy, \ + ComplexDoubleTypeProxy, \ + FilesystemProxy, \ + UnsignedShortIntegerTypeProxy, \ + UnsignedCharTypeProxy, \ + DeclarationProxy, \ + NodeProxy, \ + CharTypeProxy, \ + ClassProxy, \ + Char32TypeProxy, \ + FileProxy, \ + SignedCharTypeProxy, \ + FieldProxy, \ + HeaderProxy, \ + UnsignedLongLongIntegerTypeProxy, \ + FundamentalTypeProxy, \ + ClassTemplateProxy, \ + NullPtrTypeProxy, \ + SignedLongIntegerTypeProxy, \ + SignedDoubleTypeProxy, \ + CharacterFundamentalTypeProxy, \ + SignedIntegerTypeProxy, \ + VariableProxy, \ + VoidTypeProxy, \ + UnsignedLongIntegerTypeProxy, \ + BoolTypeProxy, \ + MethodProxy, \ + SignedShortIntegerTypeProxy, \ + ComplexTypeProxy, \ + SignedFloatTypeProxy, \ + UnsignedIntegerTypeProxy, \ + Char16TypeProxy, \ + SignedLongLongIntegerTypeProxy, \ + DestructorProxy, \ + NamespaceProxy, \ + TypedefProxy, \ + DirectoryProxy, \ + EnumerationProxy, \ + FunctionProxy, \ + ComplexFloatTypeProxy, \ + ConstructorProxy, \ + EdgeProxy, \ + QualifiedTypeProxy, \ + ParameterProxy from .plugin_manager import node_path, node_rename, documenter, visitor from .proxy_manager import ProxyManager from .node_rename import PYTHON_OPERATOR from .plugin_manager import PluginManager -from .tools import camel_case_to_lower, to_camel_case, camel_case_to_upper +from .tools import camel_case_to_lower, camel_case_to_upper from .generator import iterator_range __all__ = ['boost_python_call_policy', 'boost_python_export_factory', 'boost_python_module_factory', 'boost_python_decorator_factory'] @@ -78,7 +128,7 @@ def get_boost_python_export(self): def set_boost_python_export(self, boost_python_export): self.desugared_type.unqualified_type.boost_python_export = boost_python_export -def del_boost_python_export(self, boost_python_export): +def del_boost_python_export(self): del self.desugared_type.unqualified_type.boost_python_export QualifiedTypeProxy.boost_python_export = property(get_boost_python_export, set_boost_python_export, del_boost_python_export)