summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2013-11-09 20:08:11 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2013-11-09 20:08:11 +0100
commit2da4c5bbae9c6cea0492f21de10123d4b840af83 (patch)
tree63a28730c9526cd9f9522ac0cd109bbdff0c1325 /src/plugins
parent67fdb6b740ba7f8ee155dff6135e64fd85c21728 (diff)
downloadhercules-2da4c5bbae9c6cea0492f21de10123d4b840af83.tar.gz
hercules-2da4c5bbae9c6cea0492f21de10123d4b840af83.tar.bz2
hercules-2da4c5bbae9c6cea0492f21de10123d4b840af83.tar.xz
hercules-2da4c5bbae9c6cea0492f21de10123d4b840af83.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
index 25d7eced4..555d893d0 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -36636,14 +36636,14 @@ void HP_map_versionscreen(bool do_exit) {
}
return;
}
-bool HP_map_arg_next_value(const char *option, int i, int argc) {
+bool HP_map_arg_next_value(const char *option, int i, int argc, bool must) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_arg_next_value_pre ) {
- bool (*preHookFunc) (const char *option, int *i, int *argc);
+ bool (*preHookFunc) (const char *option, int *i, int *argc, bool *must);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_arg_next_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_arg_next_value_pre[hIndex].func;
- retVal___ = preHookFunc(option, &i, &argc);
+ retVal___ = preHookFunc(option, &i, &argc, &must);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36651,13 +36651,13 @@ bool HP_map_arg_next_value(const char *option, int i, int argc) {
}
}
{
- retVal___ = HPMHooks.source.map.arg_next_value(option, i, argc);
+ retVal___ = HPMHooks.source.map.arg_next_value(option, i, argc, must);
}
if( HPMHooks.count.HP_map_arg_next_value_post ) {
- bool (*postHookFunc) (bool retVal___, const char *option, int *i, int *argc);
+ bool (*postHookFunc) (bool retVal___, const char *option, int *i, int *argc, bool *must);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_arg_next_value_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_arg_next_value_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, option, &i, &argc);
+ retVal___ = postHookFunc(retVal___, option, &i, &argc, &must);
}
}
return retVal___;