summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-04-26 17:20:03 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-04-26 17:20:03 +0200
commitbf265341fea65c31992497338eccfab5bfdf217f (patch)
tree6937b7e1383a44014256833545e7b79a22a878a2 /test/enum.c
parent56d716f47fac506ccaca0cdd934dc2bc1ee6644a (diff)
downloaduca-bf265341fea65c31992497338eccfab5bfdf217f.tar.gz
uca-bf265341fea65c31992497338eccfab5bfdf217f.tar.bz2
uca-bf265341fea65c31992497338eccfab5bfdf217f.tar.xz
uca-bf265341fea65c31992497338eccfab5bfdf217f.zip
Make uca_camera really private and thus breaks API
Diffstat (limited to 'test/enum.c')
-rw-r--r--test/enum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/enum.c b/test/enum.c
index f28bf9b..e9395a5 100644
--- a/test/enum.c
+++ b/test/enum.c
@@ -42,21 +42,21 @@ int main(int argc, char *argv[])
printf("%s = ", prop->name);
switch (prop->type) {
case uca_string:
- if (cam->get_property(cam, i, string_value, num_bytes) == UCA_NO_ERROR) {
+ if (uca_cam_get_property(cam, i, string_value, num_bytes) == UCA_NO_ERROR) {
printf("%s ", string_value);
}
else
printf("n/a");
break;
case uca_uint32t:
- if (cam->get_property(cam, i, &uint32_value, 0) == UCA_NO_ERROR) {
+ if (uca_cam_get_property(cam, i, &uint32_value, 0) == UCA_NO_ERROR) {
printf("%i %s", uint32_value, uca_unit_map[prop->unit]);
}
else
printf("n/a");
break;
case uca_uint8t:
- if (cam->get_property(cam, i, &uint8_value, 0) == UCA_NO_ERROR) {
+ if (uca_cam_get_property(cam, i, &uint8_value, 0) == UCA_NO_ERROR) {
printf("%i %s", uint8_value, uca_unit_map[prop->unit]);
}
else