Skip to content

Commit

Permalink
Update Clang.jl and re-run generator script for applying bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed May 14, 2021
1 parent c3477ee commit 1edd0eb
Show file tree
Hide file tree
Showing 15 changed files with 185 additions and 17 deletions.
6 changes: 3 additions & 3 deletions gen/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version = "0.4.1"

[[Clang]]
deps = ["CEnum", "Clang_jll", "Downloads", "Pkg", "TOML"]
git-tree-sha1 = "40fdcc784487848cd0b842c29c1b8df9d3dc0bf3"
git-tree-sha1 = "98cf157de9ad10fd4e874573b77cee25bfc4bfa7"
repo-rev = "master"
repo-url = "https://github.com/JuliaInterop/Clang.jl.git"
uuid = "40e3b903-d033-50b4-a0cc-940c62c95e31"
Expand Down Expand Up @@ -88,9 +88,9 @@ uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

[[Preferences]]
deps = ["TOML"]
git-tree-sha1 = "ea79e4c9077208cd3bc5d29631a26bc0cff78902"
git-tree-sha1 = "00cfd92944ca9c760982747e9a1d0d5d86ab1e5a"
uuid = "21216c6a-2e73-6563-6e65-726566657250"
version = "1.2.1"
version = "1.2.2"

[[Printf]]
deps = ["Unicode"]
Expand Down
14 changes: 13 additions & 1 deletion lib/aarch64-apple-darwin20.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mutable struct fd_set
fds_bits::NTuple{32, Int32}
fd_set() = new()
end

const sa_family_t = UInt8
Expand Down Expand Up @@ -157,6 +158,7 @@ mutable struct curl_sockaddr
protocol::Cint
addrlen::Cuint
addr::sockaddr
curl_sockaddr() = new()
end

# typedef curl_socket_t ( * curl_opensocket_callback ) ( void * clientp , curlsocktype purpose , struct curl_sockaddr * address )
Expand Down Expand Up @@ -382,6 +384,7 @@ mutable struct curl_khkey
key::Ptr{Cchar}
len::Csize_t
keytype::curl_khtype
curl_khkey() = new()
end

@enum curl_khstat::UInt32 begin
Expand Down Expand Up @@ -887,6 +890,7 @@ end
mutable struct curl_forms
option::CURLformoption
value::Ptr{Cchar}
curl_forms() = new()
end

@enum CURLFORMcode::UInt32 begin
Expand Down Expand Up @@ -955,6 +959,7 @@ end
mutable struct curl_ssl_backend
id::curl_sslbackend
name::Ptr{Cchar}
curl_ssl_backend() = new()
end

@enum CURLsslset::UInt32 begin
Expand Down Expand Up @@ -983,11 +988,13 @@ end
mutable struct curl_certinfo
num_of_certs::Cint
certinfo::Ptr{Ptr{curl_slist}}
curl_certinfo() = new()
end

mutable struct curl_tlssessioninfo
backend::curl_sslbackend
internals::Ptr{Cvoid}
curl_tlssessioninfo() = new()
end

@enum CURLINFO::UInt32 begin
Expand Down Expand Up @@ -1159,6 +1166,7 @@ mutable struct curl_version_info_data
capath::Ptr{Cchar}
zstd_ver_num::Cuint
zstd_version::Ptr{Cchar}
curl_version_info_data() = new()
end

function curl_version_info(arg1)
Expand All @@ -1181,6 +1189,7 @@ mutable struct curl_blob
data::Ptr{Cvoid}
len::Csize_t
flags::Cuint
curl_blob() = new()
end

function curl_easy_init()
Expand Down Expand Up @@ -1265,6 +1274,7 @@ mutable struct curl_waitfd
fd::curl_socket_t
events::Cshort
revents::Cshort
curl_waitfd() = new()
end

function curl_multi_init()
Expand Down Expand Up @@ -1443,6 +1453,7 @@ mutable struct curl_easyoption
id::CURLoption
type::curl_easytype
flags::Cuint
curl_easyoption() = new()
end

function curl_easy_option_by_name(name)
Expand Down Expand Up @@ -1484,6 +1495,7 @@ mutable struct __JL_Ctag_40
user::Ptr{Cchar}
group::Ptr{Cchar}
target::Ptr{Cchar}
__JL_Ctag_40() = new()
end

function Base.getproperty(x::Ptr{__JL_Ctag_40}, f::Symbol)
Expand Down Expand Up @@ -1918,7 +1930,7 @@ const CURLINFO_SOCKET = 0x00500000

const CURLINFO_OFF_T = 0x00600000

const CURLINFO_MASK = Float32(0x0000ffff)
const CURLINFO_MASK = 0x000fffff

const CURLINFO_TYPEMASK = 0x00f00000

Expand Down
14 changes: 13 additions & 1 deletion lib/aarch64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const __fd_mask = Clong

mutable struct fd_set
__fds_bits::NTuple{16, __fd_mask}
fd_set() = new()
end

const sa_family_t = Cushort
Expand Down Expand Up @@ -158,6 +159,7 @@ mutable struct curl_sockaddr
protocol::Cint
addrlen::Cuint
addr::sockaddr
curl_sockaddr() = new()
end

# typedef curl_socket_t ( * curl_opensocket_callback ) ( void * clientp , curlsocktype purpose , struct curl_sockaddr * address )
Expand Down Expand Up @@ -383,6 +385,7 @@ mutable struct curl_khkey
key::Ptr{Cchar}
len::Csize_t
keytype::curl_khtype
curl_khkey() = new()
end

@enum curl_khstat::UInt32 begin
Expand Down Expand Up @@ -888,6 +891,7 @@ end
mutable struct curl_forms
option::CURLformoption
value::Ptr{Cchar}
curl_forms() = new()
end

@enum CURLFORMcode::UInt32 begin
Expand Down Expand Up @@ -956,6 +960,7 @@ end
mutable struct curl_ssl_backend
id::curl_sslbackend
name::Ptr{Cchar}
curl_ssl_backend() = new()
end

@enum CURLsslset::UInt32 begin
Expand Down Expand Up @@ -984,11 +989,13 @@ end
mutable struct curl_certinfo
num_of_certs::Cint
certinfo::Ptr{Ptr{curl_slist}}
curl_certinfo() = new()
end

mutable struct curl_tlssessioninfo
backend::curl_sslbackend
internals::Ptr{Cvoid}
curl_tlssessioninfo() = new()
end

@enum CURLINFO::UInt32 begin
Expand Down Expand Up @@ -1160,6 +1167,7 @@ mutable struct curl_version_info_data
capath::Ptr{Cchar}
zstd_ver_num::Cuint
zstd_version::Ptr{Cchar}
curl_version_info_data() = new()
end

function curl_version_info(arg1)
Expand All @@ -1182,6 +1190,7 @@ mutable struct curl_blob
data::Ptr{Cvoid}
len::Csize_t
flags::Cuint
curl_blob() = new()
end

function curl_easy_init()
Expand Down Expand Up @@ -1266,6 +1275,7 @@ mutable struct curl_waitfd
fd::curl_socket_t
events::Cshort
revents::Cshort
curl_waitfd() = new()
end

function curl_multi_init()
Expand Down Expand Up @@ -1444,6 +1454,7 @@ mutable struct curl_easyoption
id::CURLoption
type::curl_easytype
flags::Cuint
curl_easyoption() = new()
end

function curl_easy_option_by_name(name)
Expand Down Expand Up @@ -1485,6 +1496,7 @@ mutable struct __JL_Ctag_55
user::Ptr{Cchar}
group::Ptr{Cchar}
target::Ptr{Cchar}
__JL_Ctag_55() = new()
end

function Base.getproperty(x::Ptr{__JL_Ctag_55}, f::Symbol)
Expand Down Expand Up @@ -1919,7 +1931,7 @@ const CURLINFO_SOCKET = 0x00500000

const CURLINFO_OFF_T = 0x00600000

const CURLINFO_MASK = Float32(0x0000ffff)
const CURLINFO_MASK = 0x000fffff

const CURLINFO_TYPEMASK = 0x00f00000

Expand Down
14 changes: 13 additions & 1 deletion lib/aarch64-linux-musl.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mutable struct fd_set
fds_bits::NTuple{16, Culong}
fd_set() = new()
end

const sa_family_t = Cushort
Expand Down Expand Up @@ -152,6 +153,7 @@ mutable struct curl_sockaddr
protocol::Cint
addrlen::Cuint
addr::sockaddr
curl_sockaddr() = new()
end

# typedef curl_socket_t ( * curl_opensocket_callback ) ( void * clientp , curlsocktype purpose , struct curl_sockaddr * address )
Expand Down Expand Up @@ -377,6 +379,7 @@ mutable struct curl_khkey
key::Ptr{Cchar}
len::Csize_t
keytype::curl_khtype
curl_khkey() = new()
end

@enum curl_khstat::UInt32 begin
Expand Down Expand Up @@ -882,6 +885,7 @@ end
mutable struct curl_forms
option::CURLformoption
value::Ptr{Cchar}
curl_forms() = new()
end

@enum CURLFORMcode::UInt32 begin
Expand Down Expand Up @@ -950,6 +954,7 @@ end
mutable struct curl_ssl_backend
id::curl_sslbackend
name::Ptr{Cchar}
curl_ssl_backend() = new()
end

@enum CURLsslset::UInt32 begin
Expand Down Expand Up @@ -978,11 +983,13 @@ end
mutable struct curl_certinfo
num_of_certs::Cint
certinfo::Ptr{Ptr{curl_slist}}
curl_certinfo() = new()
end

mutable struct curl_tlssessioninfo
backend::curl_sslbackend
internals::Ptr{Cvoid}
curl_tlssessioninfo() = new()
end

@enum CURLINFO::UInt32 begin
Expand Down Expand Up @@ -1154,6 +1161,7 @@ mutable struct curl_version_info_data
capath::Ptr{Cchar}
zstd_ver_num::Cuint
zstd_version::Ptr{Cchar}
curl_version_info_data() = new()
end

function curl_version_info(arg1)
Expand All @@ -1176,6 +1184,7 @@ mutable struct curl_blob
data::Ptr{Cvoid}
len::Csize_t
flags::Cuint
curl_blob() = new()
end

function curl_easy_init()
Expand Down Expand Up @@ -1260,6 +1269,7 @@ mutable struct curl_waitfd
fd::curl_socket_t
events::Cshort
revents::Cshort
curl_waitfd() = new()
end

function curl_multi_init()
Expand Down Expand Up @@ -1438,6 +1448,7 @@ mutable struct curl_easyoption
id::CURLoption
type::curl_easytype
flags::Cuint
curl_easyoption() = new()
end

function curl_easy_option_by_name(name)
Expand Down Expand Up @@ -1479,6 +1490,7 @@ mutable struct __JL_Ctag_48
user::Ptr{Cchar}
group::Ptr{Cchar}
target::Ptr{Cchar}
__JL_Ctag_48() = new()
end

function Base.getproperty(x::Ptr{__JL_Ctag_48}, f::Symbol)
Expand Down Expand Up @@ -1913,7 +1925,7 @@ const CURLINFO_SOCKET = 0x00500000

const CURLINFO_OFF_T = 0x00600000

const CURLINFO_MASK = Float32(0x0000ffff)
const CURLINFO_MASK = 0x000fffff

const CURLINFO_TYPEMASK = 0x00f00000

Expand Down
Loading

0 comments on commit 1edd0eb

Please sign in to comment.