summaryrefslogtreecommitdiff
path: root/src/hooks.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 19:22:12 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitdd5f6f4691b9975c7087a9bb6f92befd59e5d795 (patch)
tree7c271361e39fa556fbadf68f53f46e904e5d478a /src/hooks.h
parentc315b41d8fd2ee37a36eaaafec10994623392df3 (diff)
Update HOOK_GIVE to new-style hook
Diffstat (limited to 'src/hooks.h')
-rw-r--r--src/hooks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hooks.h b/src/hooks.h
index 8ea87bc3..47d7b964 100644
--- a/src/hooks.h
+++ b/src/hooks.h
@@ -12,6 +12,7 @@ extern void init_hooks(void);
extern hooks_chain* add_hook(int h_idx, hook_type hook, cptr name);
extern void add_hook_new(int h_idx, bool_ (*hook_f)(void *, void *, void *), cptr name, void *data);
extern void del_hook(int h_idx, hook_type hook);
+extern void del_hook_new(int h_idx, bool_ (*hook_f)(void *, void *, void *));
extern s32b get_next_arg(const char *fmt);
extern char* get_next_arg_str(const char *fmt);
extern object_type *get_next_arg_obj();