[aravis] introspection: add annotations.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] introspection: add annotations.
- Date: Wed, 19 May 2010 18:44:39 +0000 (UTC)
commit 13231a67202b63a07b8eff035f14c58b210f6a47
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed May 19 20:42:08 2010 +0200
introspection: add annotations.
src/arvbuffer.c | 8 ++++++++
src/arvcamera.c | 6 ++++++
src/arvstream.c | 6 ++++++
3 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/src/arvbuffer.c b/src/arvbuffer.c
index 9bd9239..b2df9c8 100644
--- a/src/arvbuffer.c
+++ b/src/arvbuffer.c
@@ -24,6 +24,14 @@
static GObjectClass *parent_class = NULL;
+/**
+ arv_buffer_new:
+
+ @size: payload size
+ @preallocated: (transfer full): preallocated memory buffer
+
+ */
+
ArvBuffer *
arv_buffer_new (size_t size, void *preallocated)
{
diff --git a/src/arvcamera.c b/src/arvcamera.c
index 89ed17c..8611028 100644
--- a/src/arvcamera.c
+++ b/src/arvcamera.c
@@ -312,6 +312,12 @@ arv_camera_get_payload (ArvCamera *camera)
return arv_device_get_integer_feature_value (camera->priv->device, "PayloadSize");
}
+/**
+ * arv_camera_new:
+ *
+ * @name: (allow-none): name of the camera. If null, it will instantiate the first camera.
+ */
+
ArvCamera *
arv_camera_new (const char *name)
{
diff --git a/src/arvstream.c b/src/arvstream.c
index 104414a..bd82bf3 100644
--- a/src/arvstream.c
+++ b/src/arvstream.c
@@ -26,6 +26,12 @@
static GObjectClass *parent_class = NULL;
+/**
+ * arv_stream_push_buffer:
+ *
+ * @buffer: (transfer full): buffer to push
+ */
+
void
arv_stream_push_buffer (ArvStream *stream, ArvBuffer *buffer)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]