static-julia icon indicating copy to clipboard operation
static-julia copied to clipboard

Feature request: Automatically generate header file

Open ufechner7 opened this issue 7 years ago • 2 comments

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.

ufechner7 avatar Nov 01 '17 05:11 ufechner7

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

lucatrv avatar Jan 20 '18 17:01 lucatrv

@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.

visr avatar Apr 24 '18 14:04 visr