Пример #1
0
    public static SWIGTYPE_p_Point new_Point(int x, int y)
    {
        IntPtr           cPtr = examplePINVOKE.new_Point(x, y);
        SWIGTYPE_p_Point ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Point(cPtr, false);

        return(ret);
    }
Пример #2
0
 public static string Point_print(SWIGTYPE_p_Point p) {
   string ret = examplePINVOKE.Point_print(SWIGTYPE_p_Point.getCPtr(p));
   return ret;
 }
Пример #3
0
    public static string Point_print(SWIGTYPE_p_Point p)
    {
        string ret = examplePINVOKE.Point_print(SWIGTYPE_p_Point.getCPtr(p));

        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_Point obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_Point obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }