From 50907f759f930cd54047d18ccc7b3d446f50e167 Mon Sep 17 00:00:00 2001 From: aont <220471+aont@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:03:57 +0900 Subject: Add EXTERN_C to cdl_swbp_attach and cdl_jmp_attach functions --- cdl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdl.h b/cdl.h index bfe63a0..1789b39 100644 --- a/cdl.h +++ b/cdl.h @@ -182,7 +182,7 @@ struct cdl_swbp_patch * @param target pointer to function pointer to function to hook. * @param detour function pointer to detour function */ -struct cdl_jmp_patch cdl_jmp_attach( +EXTERN_C struct cdl_jmp_patch cdl_jmp_attach( __in_out void** target, __in void* detour ); @@ -193,7 +193,7 @@ struct cdl_jmp_patch cdl_jmp_attach( * @param target pointer to function pointer to function to hook. * @param detour function pointer to detour function */ -struct cdl_swbp_patch cdl_swbp_attach( +EXTERN_C struct cdl_swbp_patch cdl_swbp_attach( __in_out void** target, __in void* detour ); -- cgit v1.2.3-70-g09d2