diff options
author | Haru <haru@dotalux.com> | 2018-02-18 20:54:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-18 20:54:23 +0100 |
commit | 38914c4b3362a055468e3d3d8c26204c4a2d50d2 (patch) | |
tree | 5e5b86cb10ca1cf0c779a2e8fee17063050cc0a9 /src/plugins/HPMHooking/HPMHooking.Defs.inc | |
parent | 60870581e1e2dd740751c1104299536975015b9e (diff) | |
parent | fdaa7d2568d03cd6bb7507e5cedbf597f847f178 (diff) | |
download | hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.gz hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.bz2 hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.xz hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.zip |
Merge pull request #1976 from mekolat/printf
expose script_sprintf to plugins
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 301fccb92..822faa0cd 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -6434,6 +6434,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 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); |