diff options
Diffstat (limited to 'build2/target.ixx')
-rw-r--r-- | build2/target.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/target.ixx b/build2/target.ixx index a213f16..d2edf89 100644 --- a/build2/target.ixx +++ b/build2/target.ixx @@ -164,6 +164,13 @@ namespace build2 } inline uint8_t + marked (const target* p) + { + uintptr_t i (reinterpret_cast<uintptr_t> (p)); + return uint8_t (i & 0x03); + } + + inline uint8_t unmark (const target*& p) { uintptr_t i (reinterpret_cast<uintptr_t> (p)); |