JuliaLang/julia

FCall macro and/or Fortran calling convention

Open

#38 872 ouverte le 14 déc. 2020

Voir sur GitHub
 (10 commentaires) (4 réactions) (0 assignés)Julia (5 773 forks)batch import
featureffihelp wanted

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 PRs mergées en 30 j)

Description

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

Guide contributeur