fix: Use function pointer for settings callback
This commit is contained in:
parent
daffade511
commit
6736f05a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ pub fn get(key: &str) -> Result<String> {
|
|||
raw::setting_get(
|
||||
ctx.ptr(),
|
||||
key.as_ptr(),
|
||||
callback_get_vec_u8 as *mut std::ffi::c_void,
|
||||
Some(callback_get_vec_u8),
|
||||
callback_get_vec_u8_data(&mut raw_buffer),
|
||||
)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue