mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Shuffle around wrapper statements to fix setting arguments
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
void *arg = 0;
|
||||
int res = SWIG_ConvertPtr(obj, &arg, SWIGTYPE_p_IfcParse__IfcLateBoundEntity, 0);
|
||||
if (!SWIG_IsOK(res)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "Entity__set_argument" "', argument " "3"" of type '" "IfcParse::IfcLateBoundEntity *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res), "Sequence element not of type IfcParse::IfcLateBoundEntity*");
|
||||
} else {
|
||||
$1->push(reinterpret_cast<IfcParse::IfcLateBoundEntity*>(arg));
|
||||
}
|
||||
|
||||
@@ -41,13 +41,13 @@
|
||||
#include "../ifcparse/IfcLateBoundEntity.h"
|
||||
%}
|
||||
|
||||
%include "IfcGeomWrapper.i"
|
||||
%include "IfcParseWrapper.i"
|
||||
|
||||
namespace std {
|
||||
%template(int_vector) vector<int>;
|
||||
%template(float_vector) vector<float>;
|
||||
%template(double_vector) vector<double>;
|
||||
%template(string_vector) vector<std::string>;
|
||||
%template(material_vector) vector<IfcGeom::Material>;
|
||||
};
|
||||
|
||||
%include "IfcGeomWrapper.i"
|
||||
%include "IfcParseWrapper.i"
|
||||
};
|
||||
Reference in New Issue
Block a user