how to expose header file for iOS development
cloudyangel opened this issue · 2 comments
I have complied REFPROP v10 under macOS Big Sur 11.6 environment and get the build step done following your instructions.
Finally I got the ''librefprop.dylib '' and "REFPROP.h ".
However , I'm not sure how to expose the header in my iOS project that mainly use swiftUI.
I have a little experience to convert 'CoolProp' header file then imported by iOS project, but it seems the REFPROP has a very different header compared with CoolProp.
would you please guide me for this issue ? highly appreciated !
I failed to upload the REFPROP.h to GitHub, so that I paste the contents below:
/*
This file was generated by a script in http://github.com/CoolProp/REFPROP-headers
originally written by Ian H. Bell, January 2016
This header should work on windows and linux
*/
void ABFL1dll(double *a, double *b, double *z/* ncmax */, int *kph, char *ab, double *Dmin, double *Dmax, double *T, double *P, double *D, int *ierr, char *herr, int ab_length/* 2 */, int herr_length/* 255 */);
void ABFL2dll(double *a, double *b, double *z/* ncmax */, int *kq, int *ksat, char *ab, double *Tbub, double *Tdew, double *Pbub, double *Pdew, double *Dlbub, double *Dvdew, double *ybub/* ncmax */, double *xdew/* ncmax */, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, int *ierr, char *herr, int ab_length/* 2 */, int herr_length/* 255 */);
void ABFLSHdll(char *ab, double *a, double *b, double *z/* ncmax */, int *iFlag, double *T, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int ab_length/* 2 */, int herr_length/* 255 */);
void AGdll(double *T, double *D, double *z/* ncmax */, double *a, double *g);
void ALLPROPS0dll(int *iIn, int *iOut/* ipropmax */, int *iFlag, double *T, double *D, double *z/* ncmax */, double *Output/* ipropmax */, int *ierr, char *herr, int herr_length/* 255 */);
void ALLPROPS1dll(char *hOut, int *iUnits, double *T, double *D, double *z/* ncmax */, double *c, int *ierr, char *herr, int hOut_length/* 255 */, int herr_length/* 255 */);
void ALLPROPS20dll(char *hOut, int *iUnits, int *iMass, int *iFlag, double *T, double *D, double *z/* ncmax */, double *Output/* 20 */, char *hUnitsArray, int *iUCodeArray/* 20 */, int *ierr, char *herr, int hOut_length/* 255 */, int hUnitsArray_length/* 1000 */, int herr_length/* 255 */);
void ALLPROPSdll(char *hOut, int *iUnits, int *iMass, int *iFlag, double *T, double *D, double *z/* ncmax */, double *Output/* iPropMax */, char *hUnitsArray, int *iUCodeArray/* iPropMax */, int *ierr, char *herr, int hOut_length/* 10000 */, int hUnitsArray_length/* 10000 */, int herr_length/* 255 */);
void B12dll(double *T, double *z/* ncmax */, double *B);
void BLCRVdll(double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void CCRITdll(double *T, double *P, double *v, double *z/* ncmax */, double *Cs, double *Ts, double *Ds, double *Ps, double *ws, int *ierr, char *herr, int herr_length/* 255 */);
void CHEMPOTdll(double *T, double *D, double *z/* ncmax */, double *u/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void CP0dll(double *T, double *z/* ncmax */, double *Cp);
void CRITPdll(double *z/* ncmax */, double *Tc, double *Pc, double *Dc, int *ierr, char *herr, int herr_length/* 255 */);
void CRTPNTdll(double *z/* ncmax */, double *Tc, double *Pc, double *Dc, int *ierr, char *herr, int herr_length/* 255 */);
void CSATKdll(int *icomp, double *T, int *kph, double *P, double *D, double *Csat, int *ierr, char *herr, int herr_length/* 255 */);
void CSTARdll(double *T, double *P, double *v, double *z/* ncmax */, double *Cs, double *Ts, double *Ds, double *Ps, double *ws, int *ierr, char *herr, int herr_length/* 255 */);
void CV2PKdll(int *icomp, double *T, double *D, double *Cv2p, double *Csat, int *ierr, char *herr, int herr_length/* 255 */);
void CVCPKdll(int *icomp, double *T, double *D, double *Cv, double *Cp);
void CVCPdll(double *T, double *D, double *z/* ncmax */, double *Cv, double *Cp);
void DBDTdll(double *T, double *z/* ncmax */, double *dBT);
void DBFL1dll(double *D, double *b, double *z/* ncmax */, char *hab, double *T, double *P, int *ierr, char *herr, int hab_length/* 2 */, int herr_length/* 255 */);
void DBFL2dll(double *D, double *b, double *z/* ncmax */, int *kq, char *ab, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, int *ierr, char *herr, int ab_length/* 2 */, int herr_length/* 255 */);
void DDDPdll(double *T, double *D, double *z/* ncmax */, double *dDdP);
void DDDTdll(double *T, double *D, double *z/* ncmax */, double *dDdT);
void DEFL1dll(double *D, double *e, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void DEFLSHdll(double *D, double *e, double *z/* ncmax */, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void DERVPVTdll(double *T, double *D, double *z/* ncmax */, double *dPdD, double *dPdT, double *d2PdD2, double *d2PdT2, double *d2PdTD, double *dDdP, double *dDdT, double *d2DdP2, double *d2DdT2, double *d2DdPT, double *dTdP, double *dTdD, double *d2TdP2, double *d2TdD2, double *d2TdPD);
void DHD1dll(double *T, double *D, double *z/* ncmax */, double *dhdt_d, double *dhdt_p, double *dhdd_t, double *dhdd_p, double *dhdp_t, double *dhdp_d);
void DHFL1dll(double *D, double *h, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void DHFLSHdll(double *D, double *h, double *z/* ncmax */, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void DIELECdll(double *T, double *D, double *z/* ncmax */, double *de);
void DLSATKdll(int *icomp, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void DPDD2dll(double *T, double *D, double *z/* ncmax */, double *d2PdD2);
void DPDDdll(double *T, double *D, double *z/* ncmax */, double *dPdD);
void DPDTdll(double *T, double *D, double *z/* ncmax */, double *dPdT);
void DPTSATKdll(int *icomp, double *T, int *kph, double *P, double *D, double *Csat, double *dPdT, int *ierr, char *herr, int herr_length/* 255 */);
void DQFL2dll(double *D, double *q, double *z/* ncmax */, int *kq, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void DSD1dll(double *T, double *D, double *z/* ncmax */, double *dsdt_d, double *dsdt_p, double *dsdd_t, double *dsdd_p, double *dsdp_t, double *dsdp_d);
void DSFL1dll(double *D, double *s, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void DSFLSHdll(double *D, double *s, double *z/* ncmax */, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void DVSATKdll(int *icomp, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void ENTHALdll(double *T, double *D, double *z/* ncmax */, double *h);
void ENTROdll(double *T, double *D, double *z/* ncmax */, double *s);
void ERRMSGdll(int *ierr, char *herr, int herr_length/* 255 */);
void ESFLSHdll(double *e, double *s, double *z/* ncmax */, double *T, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *h, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void EXCESSdll(double *T, double *P, double *z/* ncmax */, int *kph, double *D, double *vE, double *eE, double *hE, double *sE, double *aE, double *gE, int *ierr, char *herr, int herr_length/* 255 */);
void FGCTY2dll(double *T, double *D, double *z/* ncmax */, double *f/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void FGCTYdll(double *T, double *D, double *z/* ncmax */, double *f/* ncmax */);
void FLAGSdll(char *hFlag, int *jFlag, int *kFlag, int *ierr, char *herr, int hFlag_length/* 255 */, int herr_length/* 255 */);
void FPVdll(double *T, double *D, double *P, double *z/* ncmax */, double *Fpvx);
void FUGCOFdll(double *T, double *D, double *z/* ncmax */, double *phi/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void GERG04dll(int *ncomp, int *iFlag, int *ierr, char *herr, int herr_length/* 255 */);
void GERG08dll(int *ncomp, int *iFlag, int *ierr, char *herr, int herr_length/* 255 */);
void GETENUMdll(int *iFlag, char *hEnum, int *iEnum, int *ierr, char *herr, int hEnum_length/* 255 */, int herr_length/* 255 */);
void GETFIJdll(char *hmodij, double *fij/* nmxpar */, char *hfij, char *hmxrul, int hmodij_length/* 3 */, int hfij_length/* 255 */, int hmxrul_length/* 255 */);
void GETKTVdll(int *icomp, int *jcomp, char *hmodij, double *fij/* nmxpar */, char *hFmix, char *hfij, char *hbinp, char *hmxrul, int hmodij_length/* 3 */, int hFmix_length/* 255 */, int hfij_length/* 255 */, int hbinp_length/* 255 */, int hmxrul_length/* 255 */);
void GETMODdll(int *icomp, char *htype, char *hcode, char *hcite, int htype_length/* 3 */, int hcode_length/* 3 */, int hcite_length/* 255 */);
void GETREFDIRdll(char *hpth, int hpth_length/* 255 */);
void GIBBSdll(double *T, double *D, double *z/* ncmax */, double *ar, double *gr);
void HEATFRMdll(double *T, double *D, double *z/* ncmax */, double *hFrm, int *ierr, char *herr, int herr_length/* 255 */);
void HEATdll(double *T, double *D, double *z/* ncmax */, double *hg, double *hn, int *ierr, char *herr, int herr_length/* 255 */);
void HMXORDERdll(int *i, int *j, char *hcasi, char *hcasj, int *iFlag, int *ierr, char *herr, int hcasi_length/* 255 */, int hcasj_length/* 255 */, int herr_length/* 255 */);
void HSFL1dll(double *h, double *s, double *z/* ncmax */, double *Dmin, double *Dmax, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void HSFLSHdll(double *h, double *s, double *z/* ncmax */, double *T, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void IDCRVdll(double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void INFOdll(int *icomp, double *wmm, double *Ttrp, double *Tnbpt, double *Tc, double *Pc, double *Dc, double *Zc, double *acf, double *dip, double *Rgas);
void JICRVdll(double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void JTCRVdll(double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void LIMITKdll(char *htyp, int *icomp, double *T, double *D, double *P, double *Tmin, double *Tmax, double *Dmax, double *Pmax, int *ierr, char *herr, int htyp_length/* 3 */, int herr_length/* 255 */);
void LIMITSdll(char *htyp, double *z/* ncmax */, double *Tmin, double *Tmax, double *Dmax, double *Pmax, int htyp_length/* 3 */);
void LIMITXdll(char *htyp, double *T, double *D, double *P, double *z/* ncmax */, double *Tmin, double *Tmax, double *Dmax, double *Pmax, int *ierr, char *herr, int htyp_length/* 3 */, int herr_length/* 255 */);
void LIQSPNDLdll(double *T, double *z/* ncmax */, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void MASSFLUXdll(double *Tm, double *P, double *z/* ncmax */, double *beta, double *rf, double *fluxm, double *Cs, double *T0, double *P0, double *xMach, double *u, double *Ts, double *Ps, int *ierr, char *herr, int herr_length/* 255 */);
void MAXPdll(double *z/* ncmax */, double *Tm, double *Pm, double *Dm, int *ierr, char *herr, int herr_length/* 255 */);
void MAXTdll(double *z/* ncmax */, double *Tm, double *Pm, double *Dm, int *ierr, char *herr, int herr_length/* 255 */);
void MELTKdll(int *icomp, double *T, double *P, int *ierr, char *herr, int herr_length/* 255 */);
void MELTPdll(double *P, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void MELTTdll(double *T, double *z/* ncmax */, double *P, int *ierr, char *herr, int herr_length/* 255 */);
void MLTH2Odll(double *T, double *P1, double *P2);
void NAMEdll(int *icomp, char *hnam, char *hn80, char *hcasn, int hnam_length/* 12 */, int hn80_length/* 80 */, int hcasn_length/* 12 */);
void PASSCMNdll(char *hvr, int *iset, int *icomp, int *jcomp, char *hstr, int *ilng, double *dbl, double *arr/* 100 */, int *ierr, char *herr, int hvr_length/* 255 */, int hstr_length/* 255 */, int herr_length/* 255 */);
void PDFL1dll(double *P, double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void PDFLSHdll(double *P, double *D, double *z/* ncmax */, double *T, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void PEFL1dll(double *P, double *e, double *z/* ncmax */, int *kph, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void PEFLSHdll(double *P, double *e, double *z/* ncmax */, double *T, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void PHFL1dll(double *P, double *h, double *z/* ncmax */, int *kph, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void PHFLSHdll(double *P, double *h, double *z/* ncmax */, double *T, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void PHI0dll(int *itau, int *idel, double *T, double *D, double *z/* ncmax */, double *phi00);
void PHIDERVdll(int *iderv, double *T, double *D, double *z/* ncmax */, double *dadn/* ncmax */, double *dnadn/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void PHIHMXdll(int *itau, int *idel, double *tau, double *delta, double *z/* ncmax */, double *phi);
void PHIKdll(int *icomp, int *itau, int *idel, double *tau, double *delta, double *phi);
void PHIMIXdll(int *i, int *j, int *itau, int *idel, double *tau, double *delta, double *z/* ncmax */, double *phi);
void PHIXdll(int *itau, int *idel, double *tau, double *delta, double *z/* ncmax */, double *phixx);
void PQFLSHdll(double *P, double *q, double *z/* ncmax */, int *kq, double *T, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void PREOSdll(int *i);
void PRESSdll(double *T, double *D, double *z/* ncmax */, double *P);
void PSATKdll(int *icomp, double *T, double *P, int *ierr, char *herr, int herr_length/* 255 */);
void PSFL1dll(double *P, double *s, double *z/* ncmax */, int *kph, double *T, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void PSFLSHdll(double *P, double *s, double *z/* ncmax */, double *T, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void PUREFLDdll(int *icomp);
void QMASSdll(double *qmol, double *xl/* ncmax */, double *xv/* ncmax */, double *qkg, double *xlkg/* ncmax */, double *xvkg/* ncmax */, double *wliq, double *wvap, int *ierr, char *herr, int herr_length/* 255 */);
void QMOLEdll(double *qkg, double *xlkg/* ncmax */, double *xvkg/* ncmax */, double *qmol, double *xl/* ncmax */, double *xv/* ncmax */, double *wliq, double *wvap, int *ierr, char *herr, int herr_length/* 255 */);
void RDXHMXdll(int *ix, int *icmp, int *icmp2, double *z/* ncmax */, double *Tred, double *Dred, int *ierr, char *herr, int herr_length/* 255 */);
void REDXdll(double *z/* ncmax */, double *Tred, double *Dred);
void REFPROP1dll(char *hIn, char *hOut, int *iUnits, int *iMass, double *a, double *b, double *z/* ncmax */, double *c, double *q, int *ierr, char *herr, int hIn_length/* 255 */, int hOut_length/* 255 */, int herr_length/* 255 */);
void REFPROP2dll(char *hFld, char *hIn, char *hOut, int *iUnits, int *iFlag, double *a, double *b, double *z/* ncmax */, double *Output/* iPropMax */, double *q, int *ierr, char *herr, int hFld_length/* 10000 */, int hIn_length/* 255 */, int hOut_length/* 255 */, int herr_length/* 255 */);
void REFPROPdll(char *hFld, char *hIn, char *hOut, int *iUnits, int *iMass, int *iFlag, double *a, double *b, double *z/* ncmax */, double *Output/* iPropMax */, char *hUnits, int *iUCode, double *x/* ncmax */, double *y/* ncmax */, double *x3/* ncmax */, double *q, int *ierr, char *herr, int hFld_length/* 10000 */, int hIn_length/* 255 */, int hOut_length/* 255 */, int hUnits_length/* 255 */, int herr_length/* 255 */);
void RESIDUALdll(double *T, double *D, double *z/* ncmax */, double *Pr, double *er, double *hr, double *sr, double *Cvr, double *Cpr, double *ar, double *gr);
void RIEMdll(double *T, double *D, double *z/* ncmax */, double *riemc);
void RMIX2dll(double *z/* ncmax */, double *Rgas);
void RPVersion(char *hv, int hv_length/* 255 */);
void SATDdll(double *D, double *z/* ncmax */, int *kph, int *kr, double *T, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATESTdll(int *iFlash, double *T, double *P, double *z/* ncmax */, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATEdll(double *e, double *z/* ncmax */, int *kph, int *nroot, int *k1, double *T1, double *P1, double *D1, int *k2, double *T2, double *P2, double *D2, int *ierr, char *herr, int herr_length/* 255 */);
void SATGUESSdll(int *kph, int *iprop, double *x/* ncmax */, double *T, double *P, double *D, double *h, double *s, double *Dy, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATGVdll(double *T, double *P, double *z/* ncmax */, double *vf, double *b, int *ipv, int *ityp, int *isp, double *Dx, double *Dy, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATHdll(double *h, double *z/* ncmax */, int *kph, int *nroot, int *k1, double *T1, double *P1, double *D1, int *k2, double *T2, double *P2, double *D2, int *ierr, char *herr, int herr_length/* 255 */);
void SATPESTdll(double *P, double *z/* ncmax */, int *kph, double *T, double *x2/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATPdll(double *P, double *z/* ncmax */, int *kph, double *T, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATSPLNdll(double *z/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATSdll(double *s, double *z/* ncmax */, int *kph, int *nroot, int *k1, double *T1, double *P1, double *D1, int *k2, double *T2, double *P2, double *D2, int *k3, double *T3, double *P3, double *D3, int *ierr, char *herr, int herr_length/* 255 */);
void SATTESTdll(double *T, double *z/* ncmax */, int *kph, double *P, double *x2/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SATTPdll(double *T, double *P, double *z/* ncmax */, int *iFlsh, int *iGuess, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, int *ierr, char *herr, int herr_length/* 255 */);
void SATTdll(double *T, double *z/* ncmax */, int *kph, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, int *ierr, char *herr, int herr_length/* 255 */);
void SETAGAdll(int *ierr, char *herr, int herr_length/* 255 */);
void SETFLUIDSdll(char *hFld, int *ierr, int hFld_length/* 10000 */);
void SETKTVdll(int *icomp, int *jcomp, char *hmodij, double *fij/* nmxpar */, char *hFmix, int *ierr, char *herr, int hmodij_length/* 3 */, int hFmix_length/* 255 */, int herr_length/* 255 */);
void SETMIXTUREdll(char *hMixNme, double *z/* ncmax */, int *ierr, int hMixNme_length/* 10000 */);
void SETMIXdll(char *hMixNme, char *hFmix, char *hrf, int *ncc, char *hFiles, double *z/* ncmax */, int *ierr, char *herr, int hMixNme_length/* 255 */, int hFmix_length/* 255 */, int hrf_length/* 3 */, int hFiles_length/* 10000 */, int herr_length/* 255 */);
void SETMODdll(int *ncomp, char *htype, char *hmix, char *hcomp, int *ierr, char *herr, int htype_length/* 3 */, int hmix_length/* 3 */, int hcomp_length/* 60 */, int herr_length/* 255 */);
void SETNCdll(int *ncomp);
void SETPATHdll(char *hpth, int hpth_length/* 255 */);
void SETREFDIRdll(char *hpth, int hpth_length/* 255 */);
void SETREFdll(char *hrf, int *ixflag, double *x0/* ncmax */, double *h0, double *s0, double *T0, double *P0, int *ierr, char *herr, int hrf_length/* 3 */, int herr_length/* 255 */);
void SETUPdll(int *ncomp, char *hFiles, char *hFmix, char *hrf, int *ierr, char *herr, int hFiles_length/* 10000 */, int hFmix_length/* 255 */, int hrf_length/* 3 */, int herr_length/* 255 */);
void SPLNROOTdll(int *isp, int *iderv, double *f, double *a, int *ierr, char *herr, int herr_length/* 255 */);
void SPLNVALdll(int *isp, int *iderv, double *a, double *f, int *ierr, char *herr, int herr_length/* 255 */);
void STNdll(double *T, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *sigma, int *ierr, char *herr, int herr_length/* 255 */);
void SUBLPdll(double *P, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void SUBLTdll(double *T, double *z/* ncmax */, double *P, int *ierr, char *herr, int herr_length/* 255 */);
void SURFTdll(double *T, double *Dl, double *z/* ncmax */, double *sigma, int *ierr, char *herr, int herr_length/* 255 */);
void SURTENdll(double *T, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *sigma, int *ierr, char *herr, int herr_length/* 255 */);
void TDFLSHdll(double *T, double *D, double *z/* ncmax */, double *P, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void TEFL1dll(double *T, double *e, double *z/* ncmax */, double *Dmin, double *Dmax, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void TEFLSHdll(double *T, double *e, double *z/* ncmax */, int *kr, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void THERM0dll(double *T, double *D, double *z/* ncmax */, double *P0, double *e0, double *h0, double *s0, double *Cv0, double *Cp00, double *w0, double *a0, double *g0);
void THERM2dll(double *T, double *D, double *z/* ncmax */, double *P, double *e, double *h, double *s, double *Cv, double *Cp, double *w, double *zz, double *hjt, double *a, double *g, double *xkappa, double *beta, double *dPdD, double *d2PdD2, double *dPdT, double *dDdT, double *dDdP, double *d2PdT2, double *d2PdTD, double *spare3, double *spare4);
void THERM3dll(double *T, double *D, double *z/* ncmax */, double *xkappa, double *beta, double *xisenk, double *xkt, double *betas, double *bs, double *xkkt, double *thrott, double *pi, double *spht);
void THERMdll(double *T, double *D, double *z/* ncmax */, double *P, double *e, double *h, double *s, double *Cv, double *Cp, double *w, double *hjt);
void THFL1dll(double *T, double *h, double *z/* ncmax */, double *Dmin, double *Dmax, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void THFLSHdll(double *T, double *h, double *z/* ncmax */, int *kr, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void TPFL2dll(double *T, double *P, double *z/* ncmax */, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, int *ierr, char *herr, int herr_length/* 255 */);
void TPFLSHdll(double *T, double *P, double *z/* ncmax */, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void TPRHOPRdll(double *T, double *P, double *z/* ncmax */, double *D1, double *D2);
void TPRHOdll(double *T, double *P, double *z/* ncmax */, int *kph, int *kguess, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void TQFLSHdll(double *T, double *q, double *z/* ncmax */, int *kq, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *e, double *h, double *s, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void TRNPRPdll(double *T, double *D, double *z/* ncmax */, double *eta, double *tcx, int *ierr, char *herr, int herr_length/* 255 */);
void TSATDdll(double *D, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void TSATPdll(double *P, double *z/* ncmax */, double *T, int *ierr, char *herr, int herr_length/* 255 */);
void TSFL1dll(double *T, double *s, double *z/* ncmax */, double *Dmin, double *Dmax, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void TSFLSHdll(double *T, double *s, double *z/* ncmax */, int *kr, double *P, double *D, double *Dl, double *Dv, double *x/* ncmax */, double *y/* ncmax */, double *q, double *e, double *h, double *Cv, double *Cp, double *w, int *ierr, char *herr, int herr_length/* 255 */);
void UNSETAGAdll();
void VAPSPNDLdll(double *T, double *z/* ncmax */, double *D, int *ierr, char *herr, int herr_length/* 255 */);
void VIRBAdll(double *T, double *z/* ncmax */, double *Ba);
void VIRBCDdll(double *T, double *z/* ncmax */, double *B, double *C, double *D, double *E);
void VIRBdll(double *T, double *z/* ncmax */, double *B);
void VIRCAdll(double *T, double *z/* ncmax */, double *Ca);
void VIRCdll(double *T, double *z/* ncmax */, double *C);
void WMOLIdll(int *icomp, double *wmm);
void WMOLdll(double *z/* ncmax */, double *wmm);
void XMASSdll(double *xmol/* ncmax */, double *xkg/* ncmax */, double *wmix);
void XMOLEdll(double *xkg/* ncmax */, double *xmol/* ncmax */, double *wmix);
No idea, you'll have to consult the swiftUI docs. The build seems to work, so I am going to close the issue. Otherwise, please open an issue here about interfacing with a build shared library: https://github.com/usnistgov/REFPROP-wrappers/issues/new
well received. thank you !