Skip to content

Commit

Permalink
generate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Octogonapus committed May 1, 2024
1 parent baa82c6 commit ca7f2fd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 107 deletions.
15 changes: 0 additions & 15 deletions lib/aarch64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6717,21 +6717,6 @@ function aws_input_stream_new_tester(alloc, options)
ccall((:aws_input_stream_new_tester, libaws_c_io), Ptr{aws_input_stream}, (Ptr{aws_allocator}, Ptr{aws_input_stream_tester_options}), alloc, options)
end

"""
__pthread_mutex_s
Documentation not found.
"""
struct __pthread_mutex_s
__lock::Cint
__count::Cuint
__owner::Cint
__nusers::Cuint
__kind::Cint
__spins::Cint
__list::__pthread_list_t
end

"""
__JL_Ctag_710
Expand Down
31 changes: 0 additions & 31 deletions lib/armv7l-linux-gnueabihf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6717,37 +6717,6 @@ function aws_input_stream_new_tester(alloc, options)
ccall((:aws_input_stream_new_tester, libaws_c_io), Ptr{aws_input_stream}, (Ptr{aws_allocator}, Ptr{aws_input_stream_tester_options}), alloc, options)
end

"""
__pthread_mutex_s
Documentation not found.
"""
struct __pthread_mutex_s
data::NTuple{24, UInt8}
end

function Base.getproperty(x::Ptr{__pthread_mutex_s}, f::Symbol)
f === :__lock && return Ptr{Cint}(x + 0)
f === :__count && return Ptr{Cuint}(x + 4)
f === :__owner && return Ptr{Cint}(x + 8)
f === :__kind && return Ptr{Cint}(x + 12)
f === :__nusers && return Ptr{Cuint}(x + 16)
f === :__spins && return Ptr{Cint}(x + 20)
f === :__list && return Ptr{__pthread_slist_t}(x + 20)
return getfield(x, f)
end

function Base.getproperty(x::__pthread_mutex_s, f::Symbol)
r = Ref{__pthread_mutex_s}(x)
ptr = Base.unsafe_convert(Ptr{__pthread_mutex_s}, r)
fptr = getproperty(ptr, f)
GC.@preserve r unsafe_load(fptr)
end

function Base.setproperty!(x::Ptr{__pthread_mutex_s}, f::Symbol, v)
unsafe_store!(getproperty(x, f), v)
end

"""
__JL_Ctag_709
Expand Down
31 changes: 0 additions & 31 deletions lib/i686-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6756,37 +6756,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_685}, f::Symbol, v)
end


"""
__pthread_mutex_s
Documentation not found.
"""
struct __pthread_mutex_s
data::NTuple{24, UInt8}
end

function Base.getproperty(x::Ptr{__pthread_mutex_s}, f::Symbol)
f === :__lock && return Ptr{Cint}(x + 0)
f === :__count && return Ptr{Cuint}(x + 4)
f === :__owner && return Ptr{Cint}(x + 8)
f === :__kind && return Ptr{Cint}(x + 12)
f === :__nusers && return Ptr{Cuint}(x + 16)
f === :__spins && return Ptr{Cint}(x + 20)
f === :__list && return Ptr{__pthread_slist_t}(x + 20)
return getfield(x, f)
end

function Base.getproperty(x::__pthread_mutex_s, f::Symbol)
r = Ref{__pthread_mutex_s}(x)
ptr = Base.unsafe_convert(Ptr{__pthread_mutex_s}, r)
fptr = getproperty(ptr, f)
GC.@preserve r unsafe_load(fptr)
end

function Base.setproperty!(x::Ptr{__pthread_mutex_s}, f::Symbol, v)
unsafe_store!(getproperty(x, f), v)
end

"""
Documentation not found.
"""
Expand Down
15 changes: 0 additions & 15 deletions lib/powerpc64le-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6756,21 +6756,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_688}, f::Symbol, v)
end


"""
__pthread_mutex_s
Documentation not found.
"""
struct __pthread_mutex_s
__lock::Cint
__count::Cuint
__owner::Cint
__nusers::Cuint
__kind::Cint
__spins::Cint
__list::__pthread_list_t
end

"""
Documentation not found.
"""
Expand Down
15 changes: 0 additions & 15 deletions lib/x86_64-linux-gnu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6756,21 +6756,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_705}, f::Symbol, v)
end


"""
__pthread_mutex_s
Documentation not found.
"""
struct __pthread_mutex_s
__lock::Cint
__count::Cuint
__owner::Cint
__nusers::Cuint
__kind::Cint
__spins::Cint
__list::__pthread_list_t
end

"""
Documentation not found.
"""
Expand Down

0 comments on commit ca7f2fd

Please sign in to comment.