[Hdrflow-svn] SF.net SVN: hdrflow: [398] trunk/lib/openlibraries/src/openimagelib/py
Status: Pre-Alpha
Brought to you by:
glslang
From: <gl...@us...> - 2008-01-06 11:09:56
|
Revision: 398 http://hdrflow.svn.sourceforge.net/hdrflow/?rev=398&view=rev Author: glslang Date: 2008-01-06 03:09:50 -0800 (Sun, 06 Jan 2008) Log Message: ----------- + missing file Modified Paths: -------------- trunk/lib/openlibraries/src/openimagelib/py/Makefile.am Added Paths: ----------- trunk/lib/openlibraries/src/openimagelib/py/lut_functions.cpp Modified: trunk/lib/openlibraries/src/openimagelib/py/Makefile.am =================================================================== --- trunk/lib/openlibraries/src/openimagelib/py/Makefile.am 2008-01-06 10:54:23 UTC (rev 397) +++ trunk/lib/openlibraries/src/openimagelib/py/Makefile.am 2008-01-06 11:09:50 UTC (rev 398) @@ -11,6 +11,7 @@ libopenimagelib_py_la_SOURCES = \ il.cpp \ + lut_functions.cpp \ py.hpp \ py.cpp Added: trunk/lib/openlibraries/src/openimagelib/py/lut_functions.cpp =================================================================== --- trunk/lib/openlibraries/src/openimagelib/py/lut_functions.cpp (rev 0) +++ trunk/lib/openlibraries/src/openimagelib/py/lut_functions.cpp 2008-01-06 11:09:50 UTC (rev 398) @@ -0,0 +1,23 @@ + +// il - An image library representation. + +// Copyright (C) 2007 Goncalo Nuno M. de Carvalho +// Released under the LGPL. +// For more information, see http://www.hdrflow.com. + +#include <openpluginlib/py/python.hpp> + +#include <openimagelib/il/il.hpp> +#include <openimagelib/py/py.hpp> + +namespace il = olib::openimagelib; +namespace py = boost::python; + +namespace olib { namespace openimagelib { namespace il { namespace detail { + +void py_lut_functions( ) +{ + py::def( "to_sRGB", &il::to_sRGB ); +} + +} } } } Property changes on: trunk/lib/openlibraries/src/openimagelib/py/lut_functions.cpp ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |