Skip to content

Commit

Permalink
Fixed persistent classes detected as transient
Browse files Browse the repository at this point in the history
  • Loading branch information
rainman110 committed Nov 16, 2018
1 parent 8bd9dc1 commit 730bdca
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 204 deletions.
18 changes: 0 additions & 18 deletions src/SWIG_files/wrapper/PDF.i
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
/* public enums */
/* end public enums declaration */

%wrap_handle(PDF_Attribute)
%wrap_handle(PDF_Data)
%wrap_handle(PDF_HAttributeArray1)
%wrap_handle(PDF_VArrayNodeOfFieldOfHAttributeArray1)
%wrap_handle(PDF_Reference)
%wrap_handle(PDF_TagSource)

%nodefaultctor PDF_Attribute;
class PDF_Attribute : public Standard_Persistent {
Expand All @@ -68,8 +62,6 @@ class PDF_Attribute : public Standard_Persistent {
};


%make_alias(PDF_Attribute)

%extend PDF_Attribute {
%pythoncode {
__repr__ = _dumps_object
Expand Down Expand Up @@ -161,8 +153,6 @@ class PDF_Data : public Standard_Persistent {
};


%make_alias(PDF_Data)

%extend PDF_Data {
%pythoncode {
__repr__ = _dumps_object
Expand Down Expand Up @@ -315,8 +305,6 @@ class PDF_HAttributeArray1 : public Standard_Persistent {
};


%make_alias(PDF_HAttributeArray1)

%extend PDF_HAttributeArray1 {
%pythoncode {
__repr__ = _dumps_object
Expand Down Expand Up @@ -364,8 +352,6 @@ class PDF_VArrayNodeOfFieldOfHAttributeArray1 : public PStandard_ArrayNode {
};


%make_alias(PDF_VArrayNodeOfFieldOfHAttributeArray1)

%extend PDF_VArrayNodeOfFieldOfHAttributeArray1 {
%pythoncode {
__repr__ = _dumps_object
Expand Down Expand Up @@ -444,8 +430,6 @@ class PDF_Reference : public PDF_Attribute {
};


%make_alias(PDF_Reference)

%extend PDF_Reference {
%pythoncode {
__repr__ = _dumps_object
Expand Down Expand Up @@ -493,8 +477,6 @@ class PDF_TagSource : public PDF_Attribute {
};


%make_alias(PDF_TagSource)

%extend PDF_TagSource {
%pythoncode {
__repr__ = _dumps_object
Expand Down
Loading

0 comments on commit 730bdca

Please sign in to comment.