summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunar Laboratories <root@lunar.sh>2025-06-05 11:22:04 +0200
committerGitHub <noreply@github.com>2025-06-05 11:22:04 +0200
commita14a05dee96e6afadeee054b1e9fbc7ae506ab6f (patch)
tree0909ea8dcc53400b171bdbe342594144f0f26920
parent4c5e8aa9026df75a2838ddcecea81351dd4d4ea1 (diff)
parent50907f759f930cd54047d18ccc7b3d446f50e167 (diff)
downloadcdl86-a14a05dee96e6afadeee054b1e9fbc7ae506ab6f.tar.gz
cdl86-a14a05dee96e6afadeee054b1e9fbc7ae506ab6f.zip
Merge pull request #2 from aont/master
-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
);