JuliaComputing / static-julia

Static AOT Julia compilation, demos and instructions
146 stars 13 forks source link

Feature request: Automatically generate header file #42

Open ufechner7 opened 7 years ago

ufechner7 commented 7 years ago

This script is compiling Julia functions into an .so file (on Linux). So the functions can be called like C functions from other programming languages. What is missing is the automatic generation of the correct .h file with the function prototypes. While this can be done manually, that is a tedious and error prone task.

lucatrv commented 6 years ago

How would this be supposed to work? For all functions of the Julia script? Please provide examples for different cases and argument types.

visr commented 6 years ago

@ufechner7 I guess this can be moved over to https://github.com/JuliaLang/PackageCompiler.jl/issues/53

Do you have some examples of the header files you created manually for this? Might help me to get started.