summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.Defs.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-04-08 22:14:05 +0200
committerGitHub <noreply@github.com>2018-04-08 22:14:05 +0200
commit21b56f6e44722e82405b78bee16a1a409743f58a (patch)
tree58df8a4d5c3648d71c6f2544a22777e951333858 /src/plugins/HPMHooking/HPMHooking.Defs.inc
parentdd6655709ea9f61cec8229d98fe9e4a9bc31bf14 (diff)
parent2bc4b4f09d00a92b28805eeeb5b5624064983255 (diff)
downloadhercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.gz
hercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.bz2
hercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.xz
hercules-21b56f6e44722e82405b78bee16a1a409743f58a.zip
Merge pull request #2009 from MishimaHaruna/sprintf-hooking-fix
Fix HPMHooking compilation when sprintf() is a macro
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index 0fd459a63..c11c9c3c0 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -6472,8 +6472,8 @@ typedef int (*HPMHOOK_pre_script_cleanfloor_sub) (struct block_list **bl, va_lis
typedef int (*HPMHOOK_post_script_cleanfloor_sub) (int retVal___, struct block_list *bl, va_list ap);
typedef int (*HPMHOOK_pre_script_run_func) (struct script_state **st);
typedef int (*HPMHOOK_post_script_run_func) (int retVal___, struct script_state *st);
-typedef bool (*HPMHOOK_pre_script_sprintf) (struct script_state **st, int *start, struct StringBuf **out);
-typedef bool (*HPMHOOK_post_script_sprintf) (bool retVal___, struct script_state *st, int start, struct StringBuf *out);
+typedef bool (*HPMHOOK_pre_script_sprintf_helper) (struct script_state **st, int *start, struct StringBuf **out);
+typedef bool (*HPMHOOK_post_script_sprintf_helper) (bool retVal___, struct script_state *st, int start, struct StringBuf *out);
typedef const char* (*HPMHOOK_pre_script_getfuncname) (struct script_state **st);
typedef const char* (*HPMHOOK_post_script_getfuncname) (const char* retVal___, struct script_state *st);
typedef unsigned int (*HPMHOOK_pre_script_calc_hash_ci) (const char **p);