コード例 #1
0
    public bool load_serializable(SWIGTYPE_p_CSerializableFile file)
    {
        bool ret = modshogunPINVOKE.SGIO_load_serializable__SWIG_1(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #2
0
    public bool save_serializable(SWIGTYPE_p_CSerializableFile file, string prefix)
    {
        bool ret = modshogunPINVOKE.SGIO_save_serializable__SWIG_0(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file), prefix);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }