Skip to content

Commit

Permalink
Auto merge of #612 - jrmuizel:rm-no-mangle, r=mstange
Browse files Browse the repository at this point in the history
Drop #[no_mangle] from cg_event_tap_callback_internal

This allows multiple versions of core-graphics to be linked into the same binaries without getting "duplicate symbol: cg_event_tap_callback_internal"
  • Loading branch information
bors-servo committed Jul 7, 2023
2 parents 1972e38 + f3cf0f1 commit 15d824a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core-graphics/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ type CGEventTapCallBackInternal = unsafe extern "C" fn(
user_info: *const c_void,
) -> ::sys::CGEventRef;

#[no_mangle]
unsafe extern "C" fn cg_event_tap_callback_internal(
_proxy: CGEventTapProxy,
_etype: CGEventType,
Expand Down

0 comments on commit 15d824a

Please sign in to comment.