18 #ifndef REGISTRY_UTILS_12_01_2010_HPP 19 #define REGISTRY_UTILS_12_01_2010_HPP 21 #include <boost/config.hpp> 22 #include "boost/python.hpp" 23 #include "boost/python/converter/registry.hpp" 25 namespace boost{
namespace python{
namespace registry{
namespace utils{
30 bpl::handle<> class_obj( bpl::objects::registered_class_object( bpl::type_id< T >()));
31 return class_obj.get() ? true :
false;
35 void register_alias(
const char* name ){
37 bpl::handle<> class_obj( bpl::objects::registered_class_object( bpl::type_id< T >()));
38 boost::python::scope().attr( name ) = bpl::object( class_obj );
43 #endif // REGISTRY_UTILS_12_01_2010_HPP Definition: python_CEGUI.h:11
Definition: _LineInfo__value_traits.pypp.hpp:6