summaryrefslogtreecommitdiffstats
path: root/docs/api.rst
diff options
context:
space:
mode:
authorMariaMatveeva <matveeva.maria@gmail.com>2016-08-26 14:29:03 +0200
committerMariaMatveeva <matveeva.maria@gmail.com>2016-08-26 14:29:03 +0200
commit48b868c5208816b007ec1d9c7940e75b4c64e5ce (patch)
treeca1f4a3bc0838b94b9fe9774d23ca1848948c303 /docs/api.rst
parentd0aabc426cb01d488e9d41a66623773da73ff5e3 (diff)
downloaduca-48b868c5208816b007ec1d9c7940e75b4c64e5ce.tar.gz
uca-48b868c5208816b007ec1d9c7940e75b4c64e5ce.tar.bz2
uca-48b868c5208816b007ec1d9c7940e75b4c64e5ce.tar.xz
uca-48b868c5208816b007ec1d9c7940e75b4c64e5ce.zip
Update documentation
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst
index cf0dd4b..3bdde88 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -18,9 +18,9 @@ all camera strings with ``uca_plugin_manager_get_available_cameras``::
GList *types;
- types = uca_camera_get_available_cameras (manager);
+ types = uca_plugin_manager_get_available_cameras (manager);
- for (GList *it = g_list_first; it != NULL; it = g_list_next (it))
+ for (GList *it = g_list_first (types); it != NULL; it = g_list_next (it))
g_print ("%s\n", (gchar *) it->data);
/* free the strings and the list */
@@ -76,7 +76,7 @@ With ``UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE`` you have to trigger with
NULL);
uca_camera_start_recording (camera, NULL);
- uca_camera_grab (camera, &buffer, NULL);
+ uca_camera_grab (camera, buffer, NULL);
uca_camera_stop_recording (camera, NULL);
/* thread B */