We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac5878d + b957afe commit 278044aCopy full SHA for 278044a
src/odb/src/swig/python/dbtypes.i
@@ -217,6 +217,7 @@
217
218
// Handle return by ref.
219
%apply int &OUTPUT { int & overhang1, int & overhang2 };
220
+%apply int &OUTPUT { int & x, int & y };
221
%apply int &OUTPUT { int & x_spacing, int & y_spacing };
222
WRAP_OBJECT_RETURN_REF(odb::Rect, r)
223
WRAP_OBJECT_RETURN_REF(odb::Rect, rect)
src/pdn/src/PdnGen-py.i
@@ -66,7 +66,7 @@ using namespace pdn;
66
%apply unsigned long { ExtensionMode };
67
68
%import "odb.i"
69
-%import "dbtypes.i"
+%clear int & x, int & y; // defined in dbtypes.i, must be cleared here.
70
%include <std_string.i>
71
72
// These are needed to coax swig into sending or returning Python
0 commit comments