]> gitweb.factorcode.org Git - factor.git/blob - vm/booleans.hpp
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / vm / booleans.hpp
1 namespace factor
2 {
3
4 inline static cell tag_boolean(cell untagged)
5 {
6         return (untagged ? T : F);
7 }
8
9 VM_C_API void box_boolean(bool value);
10 VM_C_API bool to_boolean(cell value);
11
12 }