This is how I generate the bindings with #278,
➜ git clone https://github.com/raysan5/raylib.git
Cloning into 'raylib'...
remote: Enumerating objects: 69, done.
remote: Counting objects: 100% (69/69), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 28173 (delta 37), reused 42 (delta 21), pack-reused 28104
Receiving objects: 100% (28173/28173), 352.88 MiB | 2.83 MiB/s, done.
Resolving deltas: 100% (20012/20012), done.
Updating files: 100% (885/885), done.
➜ cd raylib
➜ mkdir gen && cd gen
➜ cat wrap.toml
[general]
library_name = "libraylib"
output_file_path = "./LibRaylib.jl"
module_name = "LibRaylib"
use_julia_native_enum_type = true
➜ cat wrap.jl
using Clang.Generators
cd(@__DIR__)
const RAYLIB_H = [joinpath(@__DIR__, "..", "src", "raylib.h")]
options = load_options(joinpath(@__DIR__, "wrap.toml"))
args = String[]
ctx = create_context(RAYLIB_H, args, options)
build!(ctx)
➜ julia wrap.jl
[ Info: [CollectTopLevelNode]: processing header: /Users/gnimuc/Codes/raylib/gen/../src/raylib.h
[ Info: Building the DAG...
[ Info: Emit Julia expressions...
[ Info: [ProloguePrinter]: print to ./LibRaylib.jl
[ Info: [GeneralPrinter]: print to ./LibRaylib.jl
[ Info: [EpiloguePrinter]: print to ./LibRaylib.jl
[ Info: Done!