9package com.google.ortools.init;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
28 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
30 obj.swigCMemOwn =
false;
36 @SuppressWarnings({
"deprecation",
"removal"})
45 mainJNI.delete_OrToolsVersion(swigCPtr);
55 return mainJNI.OrToolsVersion_getMajorNumber();
62 return mainJNI.OrToolsVersion_getMinorNumber();
69 return mainJNI.OrToolsVersion_getPatchNumber();
76 return mainJNI.OrToolsVersion_getVersionString();
80 this(mainJNI.new_OrToolsVersion(),
true);