+reflect native c++ core register_fonts function - that works recursively

This commit is contained in:
Dane Springmeyer 2011-09-15 20:13:15 +00:00
parent da5f283c9e
commit 8e7950c318

View file

@ -39,6 +39,7 @@ void export_font_engine()
class_<freetype_engine,bases<singleton<freetype_engine,CreateStatic> >, class_<freetype_engine,bases<singleton<freetype_engine,CreateStatic> >,
boost::noncopyable>("FontEngine",no_init) boost::noncopyable>("FontEngine",no_init)
.def("register_font",&freetype_engine::register_font) .def("register_font",&freetype_engine::register_font)
.def("register_fonts",&freetype_engine::register_fonts)
.def("face_names",&freetype_engine::face_names) .def("face_names",&freetype_engine::face_names)
.staticmethod("register_font") .staticmethod("register_font")
.staticmethod("face_names") .staticmethod("face_names")