[pygccxml-commit] SF.net SVN: pygccxml: [803] pyplusplus_dev
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-12-17 19:57:49
|
Revision: 803 http://svn.sourceforge.net/pygccxml/?rev=803&view=rev Author: roman_yakovenko Date: 2006-12-17 11:57:49 -0800 (Sun, 17 Dec 2006) Log Message: ----------- updating docs and adding new compile time test case Modified Paths: -------------- pyplusplus_dev/docs/history/history.rest pyplusplus_dev/docs/quotes.rest pyplusplus_dev/unittests/data/function_transformations_to_be_exported.hpp pyplusplus_dev/unittests/function_transformations_tester.py Modified: pyplusplus_dev/docs/history/history.rest =================================================================== --- pyplusplus_dev/docs/history/history.rest 2006-12-15 20:11:48 UTC (rev 802) +++ pyplusplus_dev/docs/history/history.rest 2006-12-17 19:57:49 UTC (rev 803) @@ -17,6 +17,7 @@ * Lakin Wecker * Georgiy Dernovoy * Gottfried Ganssauge +* Andy Miller ------------ Project name Modified: pyplusplus_dev/docs/quotes.rest =================================================================== --- pyplusplus_dev/docs/quotes.rest 2006-12-15 20:11:48 UTC (rev 802) +++ pyplusplus_dev/docs/quotes.rest 2006-12-17 19:57:49 UTC (rev 803) @@ -35,6 +35,13 @@ Lakin Wecker, the author of `Python-OGRE`_ project +"... Py++ allows the wrappers to be "automagically" created, which means it's much +easier to keep things up to date (the maintainence on the Py++ based wrapper is +tiny compared to any other system I've used). It also allows us to wrap other +libraries fairly easily. " + + Andy Miller, a developer of `Python-OGRE`_ project + ------------------ Who is using Py++? ------------------ Modified: pyplusplus_dev/unittests/data/function_transformations_to_be_exported.hpp =================================================================== --- pyplusplus_dev/unittests/data/function_transformations_to_be_exported.hpp 2006-12-15 20:11:48 UTC (rev 802) +++ pyplusplus_dev/unittests/data/function_transformations_to_be_exported.hpp 2006-12-17 19:57:49 UTC (rev 803) @@ -183,6 +183,23 @@ ~ft_private_destructor_t(){} }; +struct bug_render_target_t{ + virtual void get_statistics( float& x, float& y ){ + x = 1.1;; + y = 1.2; + } + + struct frame_stats_t{ + float x, y; + }; + + virtual frame_stats_t get_statistics(){ + frame_stats_t fs; + fs.x = 1.1; + fs.y = 1.2; + } +}; + } #endif//__function_transformations_to_be_exported_hpp__ Modified: pyplusplus_dev/unittests/function_transformations_tester.py =================================================================== --- pyplusplus_dev/unittests/function_transformations_tester.py 2006-12-15 20:11:48 UTC (rev 802) +++ pyplusplus_dev/unittests/function_transformations_tester.py 2006-12-17 19:57:49 UTC (rev 803) @@ -68,6 +68,9 @@ mb.decls(lambda decl: decl.name.startswith("_")).exclude() + cls = mb.class_("bug_render_target_t") + cls.mem_fun("get_statistics", arg_types=['float &']*2).add_transformation( ft.output(0), ft.output(1) ) + def run_tests(self, module): """Run the actual unit tests. """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |