diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-20 10:03:52 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-20 10:03:52 +0100 |
commit | ff7f3216fe76e0a4598bdf737671a5e25a780ded (patch) | |
tree | 611970247e33c4af6b1a2a6345bb39b3cb05295e /src/uca-camera.h | |
parent | 71acacfd31e36fcb314d0d75306d26f9518e1d6a (diff) | |
download | uca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.gz uca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.bz2 uca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.xz uca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.zip |
uca_camera_grab takes a gpointer and returns bool
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r-- | src/uca-camera.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h index 87996c6..f6fdace 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -129,7 +129,7 @@ struct _UcaCameraClass { void (*start_readout) (UcaCamera *camera, GError **error); void (*stop_readout) (UcaCamera *camera, GError **error); void (*trigger) (UcaCamera *camera, GError **error); - void (*grab) (UcaCamera *camera, gpointer *data, GError **error); + gboolean (*grab) (UcaCamera *camera, gpointer data, GError **error); void (*recording_started) (UcaCamera *camera); void (*recording_stopped) (UcaCamera *camera); @@ -147,9 +147,10 @@ void uca_camera_stop_readout (UcaCamera *camera, GError **error); void uca_camera_trigger (UcaCamera *camera, GError **error); -void uca_camera_grab (UcaCamera *camera, - gpointer *data, - GError **error); +gboolean uca_camera_grab (UcaCamera *camera, + gpointer data, + GError **error) + __attribute__((nonnull (2))); void uca_camera_set_grab_func (UcaCamera *camera, UcaCameraGrabFunc func, gpointer user_data); |