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(
Pack 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<LongToLong> LongToLongCallbacks;
44 private List<LongLongToLong> LongLongToLongCallbacks;
48 if (LongToLongCallbacks ==
null)
49 LongToLongCallbacks =
new List<LongToLong>();
50 LongToLongCallbacks.Add(c);
54 if (LongLongToLongCallbacks ==
null)
55 LongLongToLongCallbacks =
new List<LongLongToLong>();
56 LongLongToLongCallbacks.Add(c);
141 public void Assign(
int var_index,
int bin_index) {
157 IntVar ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new IntVar(cPtr,
false);