From 90b72b727610ddd85b0e3a2889d1677c10039bac Mon Sep 17 00:00:00 2001 From: Tobias Schmidt <tobias.schmidt@unibas.ch> Date: Fri, 13 May 2011 17:09:40 +0200 Subject: [PATCH] python export of GetHandle --- modules/gfx/pymod/export_surface.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gfx/pymod/export_surface.cc b/modules/gfx/pymod/export_surface.cc index b6031a616..b954a414a 100644 --- a/modules/gfx/pymod/export_surface.cc +++ b/modules/gfx/pymod/export_surface.cc @@ -121,6 +121,8 @@ void export_Surface() .def("SetColor", set_color2) .def("CleanColorOps", &Surface::CleanColorOps) .def("ReapplyColorOps", &Surface::ReapplyColorOps) + .def("GetHandle", &Surface::GetHandle) + .add_property("handle", &Surface::GetHandle) ; } -- GitLab