From 280eac6127a6c36eb330b672ee5ea2952ee44c34 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 29 Oct 2021 10:40:03 +0200 Subject: [PATCH] parse_ifcxml now handled by swig config --- src/ifcwrap/IfcParseWrapper.i | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index b53f2d25aa..1f2270f182 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -523,16 +523,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas %newobject read; %newobject parse_ifcxml; -%inline %{ - IfcParse::IfcFile* parse_ifcxml(const std::string& fn) { -#ifdef WITH_IFCXML - return IfcParse::parse_ifcxml(fn); -#else - throw std::runtime_error("No IfcXML support enabled"); -#endif - } -%} - %inline %{ IfcParse::IfcFile* open(const std::string& fn) { IfcParse::IfcFile* f = new IfcParse::IfcFile(fn);