예제 #1
0
    public static SWIGTYPE_p_log_handle log_create(uint nbMsg)
    {
        global::System.IntPtr cPtr = protocommPINVOKE.log_create(nbMsg);
        SWIGTYPE_p_log_handle ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_log_handle(cPtr, false);

        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_log_handle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #3
0
 public static void log_clear(SWIGTYPE_p_log_handle _this)
 {
     protocommPINVOKE.log_clear(SWIGTYPE_p_log_handle.getCPtr(_this));
 }
예제 #4
0
    public static uint log_getfree(SWIGTYPE_p_log_handle _this)
    {
        uint ret = protocommPINVOKE.log_getfree(SWIGTYPE_p_log_handle.getCPtr(_this));

        return(ret);
    }
예제 #5
0
    public static int log_pop(SWIGTYPE_p_log_handle _this, string szMsg)
    {
        int ret = protocommPINVOKE.log_pop(SWIGTYPE_p_log_handle.getCPtr(_this), szMsg);

        return(ret);
    }
예제 #6
0
    public static int log_destroy(SWIGTYPE_p_log_handle _this)
    {
        int ret = protocommPINVOKE.log_destroy(SWIGTYPE_p_log_handle.getCPtr(_this));

        return(ret);
    }