22 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
26 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
29 internal static global::System.Runtime.InteropServices.HandleRef swigRelease(DisjunctiveConstraint obj) {
32 throw new global::System.ApplicationException(
"Cannot release ownership as memory is not owned");
33 global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr;
34 obj.swigCMemOwn =
false;
38 return new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
42 protected override void Dispose(
bool disposing) {
44 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
49 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
51 base.Dispose(disposing);
56 private List<LongLongToLong> LongLongToLongCallbacks;
60 if (LongLongToLongCallbacks ==
null)
61 LongLongToLongCallbacks =
new List<LongLongToLong>();
62 LongLongToLongCallbacks.Add(c);
67 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.DisjunctiveConstraint_SequenceVar(swigCPtr);