From: <and...@us...> - 2007-06-20 09:59:04
|
Revision: 7725 http://plplot.svn.sourceforge.net/plplot/?rev=7725&view=rev Author: andrewross Date: 2007-06-20 02:59:05 -0700 (Wed, 20 Jun 2007) Log Message: ----------- Add PLUNICODE to the list of substitued variables (along with PLFLT and PLINT) to ensure h2def.py knows how to generate the interface. Currently plsfci and plgfci generate errors. PLUNICODE is replaced with guint32. Unfortunately, h2def.py seems incomplete. It knows how to deal with guint32, but not (guint32 *). Still, at least this fixes the error with plsfci. Perhaps someone with more detailed gnome experience can find a better fix? Modified Paths: -------------- trunk/bindings/gnome2/python/CMakeLists.txt Modified: trunk/bindings/gnome2/python/CMakeLists.txt =================================================================== --- trunk/bindings/gnome2/python/CMakeLists.txt 2007-06-20 07:02:53 UTC (rev 7724) +++ trunk/bindings/gnome2/python/CMakeLists.txt 2007-06-20 09:59:05 UTC (rev 7725) @@ -30,13 +30,13 @@ #message("PYGTK_DEFS = ${PYGTK_DEFS}") ### Prepare gcwmodule_SRCS. -# Use sed to rename PLINT and PLFLT so that h2def.py knows what to do. +# Use sed to rename PLINT, PLFLT and PLUNICODE so that h2def.py knows what to do. add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/gcw.defs COMMAND ${PYTHON_EXECUTABLE} ${codegen}/h2def.py ${CMAKE_SOURCE_DIR}/include/gcw.h -| sed -e s/PLINT/gint32/ -e s/PLFLT/double/ +| sed -e s/PLINT/gint32/ -e s/PLFLT/double/ -e s/PLUNICODE/guint32/ > ${CMAKE_CURRENT_BINARY_DIR}/gcw.defs ) @@ -60,13 +60,13 @@ ### gcwmodule_SRCS is now prepared. ### Prepare cplplotcanvasmodule_SRCS -# Use sed to rename PLINT and PLFLT so that h2def.py knows what to do. +# Use sed to rename PLINT, PLFLT and PLUNICODE so that h2def.py knows what to do. add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plplotcanvas.defs COMMAND ${PYTHON_EXECUTABLE} ${codegen}/h2def.py ${CMAKE_SOURCE_DIR}/include/plplotcanvas.h -| sed -e s/PLINT/gint32/ -e s/PLFLT/double/ +| sed -e s/PLINT/gint32/ -e s/PLFLT/double/ -e s/PLUNICODE/guint32/ > ${CMAKE_CURRENT_BINARY_DIR}/plplotcanvas.defs ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |