VM: Refactor booleans.hpp to Factor style
parent
ad41d8773d
commit
774326b2dc
|
@ -1,10 +1,6 @@
|
||||||
namespace factor
|
namespace factor {
|
||||||
{
|
|
||||||
|
|
||||||
/* Cannot allocate */
|
/* Cannot allocate */
|
||||||
inline static bool to_boolean(cell value)
|
inline static bool to_boolean(cell value) { return value != false_object; }
|
||||||
{
|
|
||||||
return value != false_object;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue