Skip to content

Commit 15d824a

Browse files
authored
Auto merge of #612 - jrmuizel:rm-no-mangle, r=mstange
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"
2 parents 1972e38 + f3cf0f1 commit 15d824a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core-graphics/src/event.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ type CGEventTapCallBackInternal = unsafe extern "C" fn(
423423
user_info: *const c_void,
424424
) -> ::sys::CGEventRef;
425425

426-
#[no_mangle]
427426
unsafe extern "C" fn cg_event_tap_callback_internal(
428427
_proxy: CGEventTapProxy,
429428
_etype: CGEventType,

0 commit comments

Comments
 (0)