Clean up leaking #define's for iterations (n, m) that could mess up subsequently included files such as boost/signals2.hpp

This commit is contained in:
Jason Turner
2010-01-03 15:48:17 +00:00
parent fb5ba0be26
commit 968da650b2
4 changed files with 7 additions and 2 deletions

View File

@@ -58,8 +58,9 @@ namespace chaiscript
{
return boost::bind(f, o BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, param, _));
}
}
#undef n
#undef m
#endif

View File

@@ -93,6 +93,7 @@ namespace chaiscript
}
}
#undef n
#endif

View File

@@ -61,6 +61,7 @@ namespace chaiscript
}
}
}
#undef n
#endif

View File

@@ -130,4 +130,6 @@ namespace chaiscript
}
#undef n
#endif