diff engine/core/video/video.i @ 394:5bb52a43f48b

Fixed a small issue when building with scons on windows. If you have another version of mingw in PATH it would use that one instead. Also updated the a couple SWIG interfaces to handle simple output parameters as described in ticket 340.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 26 Jan 2010 16:53:51 +0000
parents 51cc05d862f2
children a8bb57884723
line wrap: on
line diff
--- a/engine/core/video/video.i	Sun Jan 24 16:52:40 2010 +0000
+++ b/engine/core/video/video.i	Tue Jan 26 16:53:51 2010 +0000
@@ -39,6 +39,8 @@
 	class Point;
 	class ResourceLocation;
 
+	%apply uint8_t *OUTPUT { uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a };
+
 	class AbstractImage {
 	public:
 		virtual ~AbstractImage() {}