Exemplo n.º 1
0
    public static SWIGTYPE_p_QtQmlBindings_t qtCreateQmlBindings(SWIGTYPE_p_f_p_q_const__char__p_void createObjectFn, SWIGTYPE_p_f_p_void__void destroyObjectFn, SWIGTYPE_p_f_p_void_p_q_const__char__p_QtValue_t readPropertyFn, SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_QtValue_t__void writePropertyFn)
    {
        global::System.IntPtr      cPtr = qmlbindingsPINVOKE.qtCreateQmlBindings(SWIGTYPE_p_f_p_q_const__char__p_void.getCPtr(createObjectFn), SWIGTYPE_p_f_p_void__void.getCPtr(destroyObjectFn), SWIGTYPE_p_f_p_void_p_q_const__char__p_QtValue_t.getCPtr(readPropertyFn), SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_QtValue_t__void.getCPtr(writePropertyFn));
        SWIGTYPE_p_QtQmlBindings_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_QtQmlBindings_t(cPtr, false);

        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_QtValue_t__void obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }