Revision: 5
Author: aronb
Date: 2006-08-16 15:47:32 -0700 (Wed, 16 Aug 2006)
ViewCVS: http://svn.sourceforge.net/pydemeter/?rev=5&view=rev
Log Message:
-----------
- Fix issues related to raw pointer ownership when calling
TextureSet.AddTexture(texture).
NOTE: Need to find a way to automate this in pyplusplus.
This would not be an issue if Demeter would use shared_ptrs :(
Modified Paths:
--------------
trunk/src/gen_bindings.py
Modified: trunk/src/gen_bindings.py
===================================================================
--- trunk/src/gen_bindings.py 2006-08-16 22:38:08 UTC (rev 4)
+++ trunk/src/gen_bindings.py 2006-08-16 22:47:32 UTC (rev 5)
@@ -139,6 +139,7 @@
texture = demeter.class_("Texture")
texture.include()
+texture.held_type = 'std::auto_ptr<Demeter::Texture>'
texture["GetBuffer"].exclude()
texture_cell = demeter.class_("TextureCell")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|