Prevent leaking macros #76

This commit is contained in:
Jason Turner 2012-11-07 14:13:08 -07:00
parent 623c64299a
commit 964342bff3
4 changed files with 9 additions and 2 deletions

View File

@ -89,5 +89,6 @@ namespace chaiscript
#undef n
#undef m
#undef param
#endif

View File

@ -4,8 +4,8 @@
// and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com
#ifndef __boxed_cast_hpp__
#define __boxed_cast_hpp__
#ifndef CHAISCRIPT_BOXED_CAST_HPP_
#define CHAISCRIPT_BOXED_CAST_HPP_
#include "type_info.hpp"
#include "boxed_value.hpp"

View File

@ -114,6 +114,8 @@ namespace chaiscript
}
}
#undef n
#undef addparam
#undef curry
#endif

View File

@ -120,6 +120,10 @@ namespace chaiscript
}
#undef n
#undef gettypeinfo
#undef casthelper
#undef trycast
#endif