Added comment about positive return values.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2227 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2001-09-11 06:02:27 +00:00
parent e8151659cc
commit 896cb2eeaf

View File

@@ -16,4 +16,8 @@ TODO List
- file upload capability
- better error checking ("fixme"s) & recovery
- modify coolshot_file_count to return GP_ code and take *count as argument
Comment by Lutz <urc8@rz.uni-karlsruhe.de>: Why? Throughout libgphoto2,
we say that negative return values are errors. That is, we do
CHECK_RESULT (pic_num = count_pictures (camera)); everywhere and let
CHECK_RESULT test for a return value < 0.