]> gitweb.factorcode.org Git - factor.git/blob - vm/booleans.hpp
VM: use better abstractions for tagged pointers, eliminate get()/set() stuff, clean...
[factor.git] / vm / booleans.hpp
1 inline static CELL tag_boolean(CELL untagged)
2 {
3         return (untagged ? T : F);
4 }
5
6 VM_C_API void box_boolean(bool value);
7 VM_C_API bool to_boolean(CELL value);