Skip to content

vlcrs-macros: simplify transmuting function pointers

Clippy reports1 those transmute as being non-necessary, and it seems that it now works correctly with as *mut c_void without the additional template typing parameters.

  1. https://rust-lang.github.io/rust-clippy/master/index.html#/transmutes_expressible_as_ptr_casts

Merge request reports

Loading