From 2a4b1acfd13dad3056b6e90b4178442661a9c313 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Fri, 5 Jun 2009 18:48:34 +0000 Subject: [PATCH] Added string comparisons --- boxedcpp/bootstrap.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boxedcpp/bootstrap.hpp b/boxedcpp/bootstrap.hpp index 2cbf973..f07940a 100644 --- a/boxedcpp/bootstrap.hpp +++ b/boxedcpp/bootstrap.hpp @@ -117,11 +117,13 @@ void bootstrap(BoxedCPP_System &s) s.register_function(boost::function(&bool_and), "&&"); s.register_function(boost::function(&bool_or), "||"); + s.register_function(boost::function(&equals), "=="); s.register_function(boost::function(&equals), "=="); s.register_function(boost::function(&equals), "=="); s.register_function(boost::function(&equals), "=="); s.register_function(boost::function(&equals), "=="); + s.register_function(boost::function(¬_equals), "!="); s.register_function(boost::function(¬_equals), "!="); s.register_function(boost::function(¬_equals), "!="); s.register_function(boost::function(¬_equals), "!=");