Skip to content

Commit fdc0150

Browse files
quinnj2quinnj
andauthored
Update aws_c_common_jll to version 0.12.3 (#23)
Co-authored-by: quinnj <[email protected]>
1 parent e2b705a commit fdc0150

15 files changed

+354
-133
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "LibAwsCommon"
22
uuid = "c6e421ba-b5f8-4792-a1c4-42948de3ed9d"
3-
version = "1.2.3"
3+
version = "1.2.4"
44

55
[deps]
66
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
@@ -9,7 +9,7 @@ aws_c_common_jll = "73048d1d-b8c4-5092-a58d-866c5e8d1e50"
99
[compat]
1010
Aqua = "0.7"
1111
CEnum = "0.5"
12-
aws_c_common_jll = "=0.12.2"
12+
aws_c_common_jll = "=0.12.3"
1313
julia = "1.6"
1414

1515
[extras]

gen/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ aws_c_common_jll = "73048d1d-b8c4-5092-a58d-866c5e8d1e50"
66
[compat]
77
Clang = "0.18.3"
88
JLLPrefixes = "0.3"
9-
aws_c_common_jll = "=0.12.2"
9+
aws_c_common_jll = "=0.12.3"

lib/aarch64-apple-darwin20.jl

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4776,6 +4776,23 @@ function aws_cbor_decoder_get_remaining_length(decoder)
47764776
ccall((:aws_cbor_decoder_get_remaining_length, libaws_c_common), Csize_t, (Ptr{aws_cbor_decoder},), decoder)
47774777
end
47784778

4779+
"""
4780+
aws_cbor_decoder_reset_src(decoder, src)
4781+
4782+
Reset the decoder source to a new src. The previous src will be discarded regardless of the unconsumed bytes. The decoder will clear its cache if any.
4783+
4784+
# Arguments
4785+
* `decoder`:
4786+
* `src`: The src data to decode from..
4787+
### Prototype
4788+
```c
4789+
void aws_cbor_decoder_reset_src(struct aws_cbor_decoder *decoder, struct aws_byte_cursor src);
4790+
```
4791+
"""
4792+
function aws_cbor_decoder_reset_src(decoder, src)
4793+
ccall((:aws_cbor_decoder_reset_src, libaws_c_common), Cvoid, (Ptr{aws_cbor_decoder}, aws_byte_cursor), decoder, src)
4794+
end
4795+
47794796
"""
47804797
aws_cbor_decoder_peek_type(decoder, out_type)
47814798
@@ -4966,11 +4983,11 @@ end
49664983
"""
49674984
aws_cbor_decoder_pop_next_tag_val(decoder, out_tag_val)
49684985
4969-
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
4986+
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag ID value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
49704987
49714988
# Arguments
49724989
* `decoder`:
4973-
* `out_size`: store the size of map if succeed.
4990+
* `out_tag_val`: store the value of tag ID.
49744991
# Returns
49754992
[`AWS_OP_SUCCESS`](@ref) successfully consumed the next element and get the result, otherwise [`AWS_OP_ERR`](@ref).
49764993
### Prototype
@@ -10760,28 +10777,28 @@ A scheduled function.
1076010777
const aws_task_fn = Cvoid
1076110778

1076210779
"""
10763-
union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)
10780+
union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)
1076410781
1076510782
honor the ABI compat
1076610783
"""
10767-
struct var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"
10784+
struct var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"
1076810785
data::NTuple{8, UInt8}
1076910786
end
1077010787

10771-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
10788+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
1077210789
f === :scheduled && return Ptr{Bool}(x + 0)
1077310790
f === :reserved && return Ptr{Csize_t}(x + 0)
1077410791
return getfield(x, f)
1077510792
end
1077610793

10777-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10778-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"}(x)
10779-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"}, r)
10794+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10795+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"}(x)
10796+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"}, r)
1078010797
fptr = getproperty(ptr, f)
1078110798
GC.@preserve r unsafe_load(fptr)
1078210799
end
1078310800

10784-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
10801+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
1078510802
unsafe_store!(getproperty(x, f), v)
1078610803
end
1078710804

@@ -10801,7 +10818,7 @@ function Base.getproperty(x::Ptr{aws_task}, f::Symbol)
1080110818
f === :node && return Ptr{aws_linked_list_node}(x + 24)
1080210819
f === :priority_queue_node && return Ptr{aws_priority_queue_node}(x + 40)
1080310820
f === :type_tag && return Ptr{Ptr{Cchar}}(x + 48)
10804-
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/833ac04438373e05030b7ca0e7ddbbe766346a65/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
10821+
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/066e61d1aa5ba887f608a3697a09ae9d1b3e08b2/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
1080510822
return getfield(x, f)
1080610823
end
1080710824

lib/aarch64-linux-gnu.jl

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4753,6 +4753,23 @@ function aws_cbor_decoder_get_remaining_length(decoder)
47534753
ccall((:aws_cbor_decoder_get_remaining_length, libaws_c_common), Csize_t, (Ptr{aws_cbor_decoder},), decoder)
47544754
end
47554755

4756+
"""
4757+
aws_cbor_decoder_reset_src(decoder, src)
4758+
4759+
Reset the decoder source to a new src. The previous src will be discarded regardless of the unconsumed bytes. The decoder will clear its cache if any.
4760+
4761+
# Arguments
4762+
* `decoder`:
4763+
* `src`: The src data to decode from..
4764+
### Prototype
4765+
```c
4766+
void aws_cbor_decoder_reset_src(struct aws_cbor_decoder *decoder, struct aws_byte_cursor src);
4767+
```
4768+
"""
4769+
function aws_cbor_decoder_reset_src(decoder, src)
4770+
ccall((:aws_cbor_decoder_reset_src, libaws_c_common), Cvoid, (Ptr{aws_cbor_decoder}, aws_byte_cursor), decoder, src)
4771+
end
4772+
47564773
"""
47574774
aws_cbor_decoder_peek_type(decoder, out_type)
47584775
@@ -4943,11 +4960,11 @@ end
49434960
"""
49444961
aws_cbor_decoder_pop_next_tag_val(decoder, out_tag_val)
49454962
4946-
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
4963+
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag ID value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
49474964
49484965
# Arguments
49494966
* `decoder`:
4950-
* `out_size`: store the size of map if succeed.
4967+
* `out_tag_val`: store the value of tag ID.
49514968
# Returns
49524969
[`AWS_OP_SUCCESS`](@ref) successfully consumed the next element and get the result, otherwise [`AWS_OP_ERR`](@ref).
49534970
### Prototype
@@ -10737,28 +10754,28 @@ A scheduled function.
1073710754
const aws_task_fn = Cvoid
1073810755

1073910756
"""
10740-
union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)
10757+
union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)
1074110758
1074210759
honor the ABI compat
1074310760
"""
10744-
struct var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"
10761+
struct var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"
1074510762
data::NTuple{8, UInt8}
1074610763
end
1074710764

10748-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
10765+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
1074910766
f === :scheduled && return Ptr{Bool}(x + 0)
1075010767
f === :reserved && return Ptr{Csize_t}(x + 0)
1075110768
return getfield(x, f)
1075210769
end
1075310770

10754-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10755-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"}(x)
10756-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"}, r)
10771+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10772+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"}(x)
10773+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"}, r)
1075710774
fptr = getproperty(ptr, f)
1075810775
GC.@preserve r unsafe_load(fptr)
1075910776
end
1076010777

10761-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
10778+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
1076210779
unsafe_store!(getproperty(x, f), v)
1076310780
end
1076410781

@@ -10778,7 +10795,7 @@ function Base.getproperty(x::Ptr{aws_task}, f::Symbol)
1077810795
f === :node && return Ptr{aws_linked_list_node}(x + 24)
1077910796
f === :priority_queue_node && return Ptr{aws_priority_queue_node}(x + 40)
1078010797
f === :type_tag && return Ptr{Ptr{Cchar}}(x + 48)
10781-
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/edb4e56076b9d98deb4e67406375139c7582bca4/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
10798+
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/38395a253c26ecafa48629dd5ecacb71b1fe43ec/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
1078210799
return getfield(x, f)
1078310800
end
1078410801

lib/aarch64-linux-musl.jl

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4707,6 +4707,23 @@ function aws_cbor_decoder_get_remaining_length(decoder)
47074707
ccall((:aws_cbor_decoder_get_remaining_length, libaws_c_common), Csize_t, (Ptr{aws_cbor_decoder},), decoder)
47084708
end
47094709

4710+
"""
4711+
aws_cbor_decoder_reset_src(decoder, src)
4712+
4713+
Reset the decoder source to a new src. The previous src will be discarded regardless of the unconsumed bytes. The decoder will clear its cache if any.
4714+
4715+
# Arguments
4716+
* `decoder`:
4717+
* `src`: The src data to decode from..
4718+
### Prototype
4719+
```c
4720+
void aws_cbor_decoder_reset_src(struct aws_cbor_decoder *decoder, struct aws_byte_cursor src);
4721+
```
4722+
"""
4723+
function aws_cbor_decoder_reset_src(decoder, src)
4724+
ccall((:aws_cbor_decoder_reset_src, libaws_c_common), Cvoid, (Ptr{aws_cbor_decoder}, aws_byte_cursor), decoder, src)
4725+
end
4726+
47104727
"""
47114728
aws_cbor_decoder_peek_type(decoder, out_type)
47124729
@@ -4897,11 +4914,11 @@ end
48974914
"""
48984915
aws_cbor_decoder_pop_next_tag_val(decoder, out_tag_val)
48994916
4900-
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
4917+
Get the next AWS\\_CBOR\\_TYPE\\_TAG element. Only consume the AWS\\_CBOR\\_TYPE\\_TAG element and set the tag ID value to *out\\_tag\\_val, not the content of the tagged. The next cbor data item will be the content of the tagged value for a valid cbor data.
49014918
49024919
# Arguments
49034920
* `decoder`:
4904-
* `out_size`: store the size of map if succeed.
4921+
* `out_tag_val`: store the value of tag ID.
49054922
# Returns
49064923
[`AWS_OP_SUCCESS`](@ref) successfully consumed the next element and get the result, otherwise [`AWS_OP_ERR`](@ref).
49074924
### Prototype
@@ -10691,28 +10708,28 @@ A scheduled function.
1069110708
const aws_task_fn = Cvoid
1069210709

1069310710
"""
10694-
union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)
10711+
union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)
1069510712
1069610713
honor the ABI compat
1069710714
"""
10698-
struct var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"
10715+
struct var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"
1069910716
data::NTuple{8, UInt8}
1070010717
end
1070110718

10702-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
10719+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol)
1070310720
f === :scheduled && return Ptr{Bool}(x + 0)
1070410721
f === :reserved && return Ptr{Csize_t}(x + 0)
1070510722
return getfield(x, f)
1070610723
end
1070710724

10708-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10709-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"}(x)
10710-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"}, r)
10725+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)", f::Symbol)
10726+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"}(x)
10727+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"}, r)
1071110728
fptr = getproperty(ptr, f)
1071210729
GC.@preserve r unsafe_load(fptr)
1071310730
end
1071410731

10715-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
10732+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"}, f::Symbol, v)
1071610733
unsafe_store!(getproperty(x, f), v)
1071710734
end
1071810735

@@ -10732,7 +10749,7 @@ function Base.getproperty(x::Ptr{aws_task}, f::Symbol)
1073210749
f === :node && return Ptr{aws_linked_list_node}(x + 24)
1073310750
f === :priority_queue_node && return Ptr{aws_priority_queue_node}(x + 40)
1073410751
f === :type_tag && return Ptr{Ptr{Cchar}}(x + 48)
10735-
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/42a3b693d2faa53ae2093487ed449ac0c41f83aa/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
10752+
f === :abi_extension && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/add0be079c4e69879efc9d1fe464deb55b1da9df/include/aws/common/task_scheduler.h:40:5)"}(x + 56)
1073610753
return getfield(x, f)
1073710754
end
1073810755

0 commit comments

Comments
 (0)