diff options
| author | Alexander Gavrilov | 2012-09-01 11:25:24 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-01 11:25:24 +0400 |
| commit | e0097d8d43013d72d729e2ae71cdd6a73a110d8d (patch) | |
| tree | a03b0e71f2d9712d14193f26a0acd2bc3bc4470e /library/include | |
| parent | c68afdaad23ccb9e1c33ec118514c78e5376a72e (diff) | |
| download | dfhack-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.h | 2 |
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(); }; |
