summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-09 17:45:26 -0200
committershennetsind <ind@henn.et>2013-11-09 17:45:26 -0200
commitc9b63614070f7fce81c88cd60e5edad5a7730df0 (patch)
tree0ce150138c4d2b48c2ef7590419ae9594d434bb7
parentcc31feab45b8ca95fe23823258213dac2e263f48 (diff)
parent2da4c5bbae9c6cea0492f21de10123d4b840af83 (diff)
downloadhercules-c9b63614070f7fce81c88cd60e5edad5a7730df0.tar.gz
hercules-c9b63614070f7fce81c88cd60e5edad5a7730df0.tar.bz2
hercules-c9b63614070f7fce81c88cd60e5edad5a7730df0.tar.xz
hercules-c9b63614070f7fce81c88cd60e5edad5a7730df0.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
-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___;