summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraont <220471+aont@users.noreply.github.com>2025-06-05 16:03:57 +0900
committerGitHub <noreply@github.com>2025-06-05 16:03:57 +0900
commit50907f759f930cd54047d18ccc7b3d446f50e167 (patch)
tree8c5a73da00928454eaf8cf6b2c6ae9b26353f3ff
parentfc07e125eb590310d1687133da4a61f1f6cdd1cc (diff)
downloadcdl86-50907f759f930cd54047d18ccc7b3d446f50e167.tar.gz
cdl86-50907f759f930cd54047d18ccc7b3d446f50e167.zip
Add EXTERN_C to cdl_swbp_attach and cdl_jmp_attach functions
-rw-r--r--cdl.h4
1 files 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
);