summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-01 11:25:24 +0400
committerAlexander Gavrilov2012-09-01 11:25:24 +0400
commite0097d8d43013d72d729e2ae71cdd6a73a110d8d (patch)
treea03b0e71f2d9712d14193f26a0acd2bc3bc4470e /library/include
parentc68afdaad23ccb9e1c33ec118514c78e5376a72e (diff)
downloaddfhack-e0097d8d43013d72d729e2ae71cdd6a73a110d8d.tar.gz
dfhack-e0097d8d43013d72d729e2ae71cdd6a73a110d8d.tar.bz2
dfhack-e0097d8d43013d72d729e2ae71cdd6a73a110d8d.tar.xz
Fix access to unnamed bits in bitfields, and allow hook.apply(false)
Diffstat (limited to 'library/include')
-rw-r--r--library/include/VTableInterpose.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/include/VTableInterpose.h b/library/include/VTableInterpose.h
index c9482f82..7ba6b67a 100644
--- a/library/include/VTableInterpose.h
+++ b/library/include/VTableInterpose.h
@@ -159,7 +159,7 @@ namespace DFHack
~VMethodInterposeLinkBase();
bool is_applied() { return applied; }
- bool apply();
+ bool apply(bool enable = true);
void remove();
};