summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 22:46:07 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitdd1e7a5ac938eb75ccbf20ea84954d63511f4611 (patch)
treee2fde4afc776357d8ac0b8a45844c83fad15993a /src/types.h
parentabd9033aa9c55ffbc8140d1fbfa28fb585844f47 (diff)
Update HOOK_DROP to new-style hook
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 218a4c60..c090477f 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2237,6 +2237,11 @@ struct hook_chardump_in {
FILE *file;
};
+typedef struct hook_drop_in hook_drop_in;
+struct hook_drop_in {
+ int o_idx;
+};
+
typedef struct hook_eat_in hook_eat_in;
struct hook_eat_in {
object_type *o_ptr;