diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-10 23:06:56 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-10 23:06:56 +0000 |
commit | 0dedb0e1639c480e93fb1b1bc88a681a92492740 (patch) | |
tree | 284d72379a31ce09610ed2f76a34259e41d830f7 /camlibs/polaroid/pdc320.h | |
parent | 232f43bcb5acde993c540be4f3035532199ffd59 (diff) | |
download | libgphoto2-0dedb0e1639c480e93fb1b1bc88a681a92492740.tar.gz |
2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions
that potentially access the camera. This makes cancelling of
all operations possible and improves error reporting.
* tests/test-filesys.c:
* libgphoto2/gphoto2-camera.c:
* camlibs: Adjust to reflect above changes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/polaroid/pdc320.h')
-rw-r--r-- | camlibs/polaroid/pdc320.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/polaroid/pdc320.h b/camlibs/polaroid/pdc320.h index 2ef5b65dc..bcee827d0 100644 --- a/camlibs/polaroid/pdc320.h +++ b/camlibs/polaroid/pdc320.h @@ -55,8 +55,8 @@ jpeg_quantization_table luminance = { #define RETRIES 3 -#define CHECK_RESULT(result) {int r = (result); if (r < 0) return (r);} -#define CHECK_RESULT_FREE(result, data) {int r = (result); if (r < 0) {free (data); return (r);}} +#define CR(result) {int r = (result); if (r < 0) return (r);} +#define CR_FREE(result, data) {int r = (result); if (r < 0) {free (data); return (r);}} static struct { const char *model; |