]> sigrok.org Git - libsigrok.git/blobdiff - output/output.c
build: Portability fixes.
[libsigrok.git] / output / output.c
index 941678ec8d2185887b10cd429fcbb7582c8996c2..4cf78f60a8b201d2ba6c60a9d6e50702d750ba5e 100644 (file)
@@ -73,11 +73,13 @@ static struct sr_output_format *output_module_list[] = {
        NULL,
 };
 
+/** @since 0.1.0 */
 SR_API struct sr_output_format **sr_output_list(void)
 {
        return output_module_list;
 }
 
+/** @since 0.3.0 */
 SR_API struct sr_output *sr_output_new(struct sr_output_format *of,
                GHashTable *params, const struct sr_dev_inst *sdi)
 {
@@ -95,12 +97,14 @@ SR_API struct sr_output *sr_output_new(struct sr_output_format *of,
        return o;
 }
 
+/** @since 0.3.0 */
 SR_API int sr_output_send(struct sr_output *o,
                const struct sr_datafeed_packet *packet, GString **out)
 {
        return o->format->receive(o, packet, out);
 }
 
+/** @since 0.3.0 */
 SR_API int sr_output_free(struct sr_output *o)
 {
        int ret;
@@ -113,5 +117,4 @@ SR_API int sr_output_free(struct sr_output *o)
        return ret;
 }
 
-
 /** @} */