15 using System.Collections;
16 using System.Collections.Generic;
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
22 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
IntervalVar obj) {
26 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 private List<VoidToVoid> closureCallbacks;
45 if (closureCallbacks ==
null)
46 closureCallbacks =
new List<VoidToVoid>();
47 closureCallbacks.Add(closure);
266 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
272 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
278 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
284 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
290 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
296 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);
302 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntExpr(cPtr,
false);