From 5a72d17d026aa6a1bb0cd32f413963ef9f24ab64 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 May 2007 03:11:00 +0000 Subject: Node compilation is beginning to work. --- src/value.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/value.h') diff --git a/src/value.h b/src/value.h index 62bbca63..28024767 100644 --- a/src/value.h +++ b/src/value.h @@ -676,6 +676,10 @@ public: #define NULL_VALUE (value_t()) +inline value_t string_value(const string& str) { + return value_t(str, true); +} + std::ostream& operator<<(std::ostream& out, const value_t& val); DECLARE_EXCEPTION(value_error); -- cgit v1.2.3