JuliaLang/julia

FCall macro and/or Fortran calling convention

Open

#38.872 aperta il 14 dic 2020

Vedi su GitHub
 (10 commenti) (4 reazioni) (0 assegnatari)Julia (5773 fork)batch import
featureffihelp wanted

Metriche repository

Star
 (48.709 star)
Metriche merge PR
 (Merge medio 20g 6h) (157 PR mergiate in 30 g)

Descrizione

In conversation with @vtjnash I mentioned that it might make sense to add a calling convention to ccall that implements the GFortran ABI so that we can target different Fortran ABI compilers (see JuliaLang/julia#38836) instead of having it be explicit.

Alternatively a @fcall macro could make sense that converts the arguments to by-ref and handles, characters correctly.

x-ref: JuliaLang/LinearAlgebra.jl#650

Guida contributor