Commit Graph

9 Commits

Author SHA1 Message Date
Ingvar Stepanyan
51d5d4a083 Fix GP_UNKNOWN_EVENT leaks in examples (#833)
Most of the examples give wrong impression that `GP_UNKNOWN_EVENT` data does not need to be freed / is not heap allocated, however it's not the case - those messages are always `malloc`'d by corresponding drivers.
2022-09-21 09:28:25 +02:00
Marcus Meissner
dc8cbddac4 report only if flag set 2021-10-02 13:26:40 +02:00
Marcus Meissner
409dfcedf4 report file info for debugging 2021-10-02 13:23:36 +02:00
Siim Meerits
456a1d598b Remove trailing whitespace from all *.h and *.c files. 2020-07-27 17:37:00 +03:00
Marcus Meissner
76bfee1646 free various event data
added GP_EVENT_FILE_CHANGED
2018-04-16 19:25:28 +02:00
peterbud
230e2554f8 add O_BINARY flag for open() calls to write images in binary mode on Windows 2016-11-19 23:47:21 +01:00
Marcus Meissner
14aab4929c remove probably unistd.h include , or protected by ifdef for
building better with Visual C

https://github.com/gphoto/libgphoto2/issues/33
2016-01-03 18:25:33 +01:00
Marcus Meissner
b6b947ddae correct compile line
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13941 67ed7778-7388-44ab-90cf-0a291f65f57c
2012-03-20 08:18:03 +00:00
Marcus Meissner
b08aef4453 added tethering sample
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13939 67ed7778-7388-44ab-90cf-0a291f65f57c
2012-03-20 08:07:55 +00:00