Skip to content

Instantly share code, notes, and snippets.

View vladaviedov's full-sized avatar

Vladyslav Aviedov vladaviedov

View GitHub Profile
@ChrisRackauckas
ChrisRackauckas / README.md
Created July 26, 2025 14:48
Julia @ccallable C Header Generator - Automatically generate C header files from Julia functions marked with @ccallable

Julia @ccallable C Header Generator

This collection of Julia scripts automatically generates C header files from Julia functions marked with the @ccallable macro. This is useful when creating Julia libraries that need to be called from C/C++ code.

Files Description

1. ccallable_header_generator.jl

The main generator script that provides a simple and robust approach to generating C headers. It uses a manual definition approach where you explicitly define function signatures, avoiding complex AST parsing.

Features: