Esempio n. 1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PtrWrapper obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public M()
 {
     i = 42;
     w = new PtrWrapper(ref i);
 }