From 96ff02d4afc1b3a1fecdccf709c139c51d515dd4 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 17 Jan 2013 00:50:11 -0500 Subject: [PATCH] missing export_values() --- src/libpython/core.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libpython/core.cpp b/src/libpython/core.cpp index b97be746..0e040329 100644 --- a/src/libpython/core.cpp +++ b/src/libpython/core.cpp @@ -804,7 +804,8 @@ void export_core() { .value("ESpectrum", Bitmap::ESpectrum) .value("ESpectrumAlpha", Bitmap::ESpectrumAlpha) .value("ESpectrumAlphaWeight", Bitmap::ESpectrumAlphaWeight) - .value("EMultiChannel", Bitmap::EMultiChannel); + .value("EMultiChannel", Bitmap::EMultiChannel) + .export_values(); bp::enum_("EComponentFormat") .value("EBitmask", Bitmap::EBitmask) @@ -828,6 +829,7 @@ void export_core() { .value("EJPEG", Bitmap::EJPEG) .value("EAuto", Bitmap::EAuto) .export_values(); + BP_SETSCOPE(coreModule); BP_CLASS(FileResolver, Object, bp::init<>())