Beispiel #1
0
        public static Router2 GetInstance()
        {
            IntPtr  cPtr = SLikeNetPINVOKE.Router2_GetInstance();
            Router2 ret  = (cPtr == IntPtr.Zero) ? null : new Router2(cPtr, false);

            return(ret);
        }
Beispiel #2
0
 public static void DestroyInstance(Router2 i)
 {
     SLikeNetPINVOKE.Router2_DestroyInstance(Router2.getCPtr(i));
 }
Beispiel #3
0
 internal static HandleRef getCPtr(Router2 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }