Change burn_msgs_set_severities to take const pointers
This commit is contained in:
parent
9bf9d42ad3
commit
11fe919c9d
1 changed files with 6 additions and 3 deletions
|
|
@ -5124,9 +5124,12 @@ unsafe extern "C" {
|
|||
///
|
||||
/// @since 0.2.6
|
||||
pub fn burn_msgs_set_severities(
|
||||
queue_severity: *mut ::std::os::raw::c_char,
|
||||
print_severity: *mut ::std::os::raw::c_char,
|
||||
print_id: *mut ::std::os::raw::c_char,
|
||||
// These three *const ::std::os::raw::c_char were actually `*mut`s instead,
|
||||
// but, based on the example code, I'm pretty sure they should have been
|
||||
// pointers to const
|
||||
queue_severity: *const ::std::os::raw::c_char,
|
||||
print_severity: *const ::std::os::raw::c_char,
|
||||
print_id: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue