File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ default-features = false
16
16
cmake = " 0.1"
17
17
18
18
[build-dependencies .bindgen ]
19
- version = " 0.57 "
19
+ version = " 0.58 "
20
20
optional = true
21
21
22
22
[features ]
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ fn generate_lib() {
33
33
. generate_comments ( false )
34
34
. layout_tests ( false )
35
35
. ctypes_prefix ( "libc" )
36
- . whitelist_type ( "[oO]pus.+" )
37
- . whitelist_function ( "[oO]pus.+" )
38
- . whitelist_var ( "[oO].+" )
36
+ . allowlist_type ( "[oO]pus.+" )
37
+ . allowlist_function ( "[oO]pus.+" )
38
+ . allowlist_var ( "[oO].+" )
39
39
. use_core ( )
40
40
. generate ( )
41
41
. expect ( "Unable to generate bindings" ) ;
Original file line number Diff line number Diff line change 1
- /* automatically generated by rust-bindgen 0.57.0 */
1
+ /* automatically generated by rust-bindgen 0.58.1 */
2
+
2
3
3
4
#![ no_std]
4
5
#![ allow( non_upper_case_globals) ]
5
6
#![ allow( non_camel_case_types) ]
6
7
#![ allow( non_snake_case) ]
7
8
9
+
8
10
pub const OPUS_OK : libc:: c_int = 0 ;
9
11
pub const OPUS_BAD_ARG : libc:: c_int = -1 ;
10
12
pub const OPUS_BUFFER_TOO_SMALL : libc:: c_int = -2 ;
You can’t perform that action at this time.
0 commit comments