diff options
author | aont <220471+aont@users.noreply.github.com> | 2025-06-05 16:03:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-05 16:03:57 +0900 |
commit | 50907f759f930cd54047d18ccc7b3d446f50e167 (patch) | |
tree | 8c5a73da00928454eaf8cf6b2c6ae9b26353f3ff | |
parent | fc07e125eb590310d1687133da4a61f1f6cdd1cc (diff) | |
download | cdl86-50907f759f930cd54047d18ccc7b3d446f50e167.tar.gz cdl86-50907f759f930cd54047d18ccc7b3d446f50e167.zip |
Add EXTERN_C to cdl_swbp_attach and cdl_jmp_attach functions
-rw-r--r-- | cdl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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
);
|