X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepPrimAPI_MakeSweep.java;h=34cf7505af9b99b2a63ec8d529933a6e4b8644e8;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=4b82bc0a42f0670745675c25160a4b446a84a853;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java index 4b82bc0a..34cf7505 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeSweep(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeSweep_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeSweep obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeSweep(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeSweep(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeSweep_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeSweep obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeSweep(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + +}