Skip to content

Commit

Permalink
Update Clang.jl generator scripts (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
melonedo authored Sep 2, 2021
1 parent f19a9d8 commit bcc01c5
Show file tree
Hide file tree
Showing 11 changed files with 949 additions and 4,701 deletions.
6 changes: 6 additions & 0 deletions gen/libpng/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
libpng_jll = "b53b4c65-9356-5827-b1ea-8c7a1a84506f"

[compat]
Clang = "0.14.0"
7 changes: 0 additions & 7 deletions gen/libpng/ctypes.jl

This file was deleted.

23 changes: 23 additions & 0 deletions gen/libpng/generator.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[general]
library_name = "libpng"
output_file_path = "libpng_api.jl"
prologue_file_path = "prologue.jl"
use_julia_native_enum_type = false
print_using_CEnum = false
use_deterministic_symbol = true
is_local_header_only = true
smart_de_anonymize = true
printer_blacklist = [
"PNG_IDAT_READ_SIZE",
"PNG_RESTRICT",
"png_libpng_ver",
"PNG_UINT_32_MAX",
"PNG_SIZE_MAX"
]
[codegen]
use_julia_bool = true
always_NUL_terminated_string = true
is_function_strictly_typed = false
opaque_func_arg_as_PtrCvoid = false
opaque_as_mutable_struct = false
use_ccall_macro = false
Loading

0 comments on commit bcc01c5

Please sign in to comment.