diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2007-10-26 17:12:47 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2007-10-26 17:12:47 +0000 |
commit | d75c0b7374b118aab48af34746f366bd3efea74f (patch) | |
tree | f623d881bf25801b2b04ba7518e8dc49825cc6bc /libgphoto2/gphoto2-file.c | |
parent | dd61dde3b7ce51d3e700dfbea25864695b88de0b (diff) | |
download | libgphoto2-d75c0b7374b118aab48af34746f366bd3efea74f.tar.gz |
added comment about lifetime
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10819 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-file.c')
-rw-r--r-- | libgphoto2/gphoto2-file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c index da11f2eff..23659c988 100644 --- a/libgphoto2/gphoto2-file.c +++ b/libgphoto2/gphoto2-file.c @@ -345,6 +345,9 @@ gp_file_set_data_and_size (CameraFile *file, char *data, * * Both data and size can be NULL and will then be ignored. * + * The pointer to data that is returned is still owned by libgphoto2 + * and its lifetime is the same as the #file. + * **/ int gp_file_get_data_and_size (CameraFile *file, const char **data, |