X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FGeom_BoundedCurve.java;h=d2c47cd926409816d979559f6079b05533f49b4a;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=bfe2f5b3c51b3634e1835580fdb6a348f102c4f9;hpb=1e885c30936c7df2efda5a00bfdc127ee059dee0;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java index bfe2f5b3..d2c47cd9 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.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 Geom_BoundedCurve extends Geom_Curve { - private long swigCPtr; - - public Geom_BoundedCurve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_BoundedCurve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_BoundedCurve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_BoundedCurve(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 Geom_BoundedCurve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_BoundedCurve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_BoundedCurve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_BoundedCurve(swigCPtr); + } + swigCPtr = 0; + } + } + +}