This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 561ae54e3e8468a4368622344e5a90187d15da48 (commit) from 47ecc1b6fbfe01c1b21089b596deb39955ebddfd (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/561ae54e3e8468a4368622344e5a90187d15d...
commit 561ae54e3e8468a4368622344e5a90187d15da48 Author: Cyril Hrubis metan@ucw.cz Date: Sat Dec 15 10:53:00 2012 +0100
pywrap: loaders.i: Add a few %newobject directives.
diff --git a/pylib/gfxprim/loaders/loaders.i b/pylib/gfxprim/loaders/loaders.i index 9561176..7c9d903 100644 --- a/pylib/gfxprim/loaders/loaders.i +++ b/pylib/gfxprim/loaders/loaders.i @@ -12,6 +12,8 @@ ERROR_ON_NULL(GP_LoadImage); ERROR_ON_NONZERO(GP_LoadMetaData); ERROR_ON_NONZERO(GP_SaveImage);
+%newobject GP_LoadImage; + %include "GP_Loaders.h"
ERROR_ON_NONZERO(GP_OpenJPG); @@ -21,18 +23,24 @@ ERROR_ON_NONZERO(GP_ReadJPGMetaData); ERROR_ON_NONZERO(GP_LoadJPGMetaData); ERROR_ON_NONZERO(GP_SaveJPG);
+%newobject GP_LoadJPG; + %include "GP_JPG.h"
ERROR_ON_NONZERO(GP_OpenBMP); ERROR_ON_NULL(GP_ReadBMP); ERROR_ON_NULL(GP_LoadBMP);
+%newobject GP_LoadBMP; + %include "GP_BMP.h"
ERROR_ON_NONZERO(GP_OpenGIF); ERROR_ON_NULL(GP_ReadGIF); ERROR_ON_NULL(GP_LoadGIF);
+%newobject GP_LoadGIF; + %include "GP_GIF.h"
ERROR_ON_NONZERO(GP_OpenPNG); @@ -42,6 +50,8 @@ ERROR_ON_NONZERO(GP_ReadPNGMetaData); ERROR_ON_NONZERO(GP_LoadPNGMetaData); ERROR_ON_NONZERO(GP_SavePNG);
+%newobject GP_LoadPNG; + %include "GP_PNG.h"
ERROR_ON_NULL(GP_LoadPBM); @@ -54,4 +64,3 @@ ERROR_ON_NONZERO(GP_SavePPM); %include "GP_PBM.h" %include "GP_PGM.h" %include "GP_PPM.h" -
-----------------------------------------------------------------------
Summary of changes: pylib/gfxprim/loaders/loaders.i | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.