X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=controller.c;h=20364f7076c8d4eab8c7fdacd8d4c5db8b293d4f;hp=dbc4eb0fa5dcef5c8298c657e5694f8bfd463799;hb=42a85ed0aed14216232ae48af1b5b709ec31f800;hpb=5cc2d7bbc075ef6048bd5cd4e36533e874efb6a7 diff --git a/controller.c b/controller.c index dbc4eb0..20364f7 100644 --- a/controller.c +++ b/controller.c @@ -129,12 +129,12 @@ int set_modulepath(void) * Create a new protocol decoder instance. * * TODO: this should be a decoder name, as decoder ids will disappear. - * @param id Decoder 'id' field. - * @param instance_id optional unique identifier for this instance. If NULL, - * the id parameter is used. * - * @returns Pointer to a newly allocated struct srd_decoder_instance, or - * NULL in case of failure. + * @param id Decoder 'id' field. + * @param instance_id Optional unique identifier for this instance. If NULL, + * the 'id' parameter is used. + * @return Pointer to a newly allocated struct srd_decoder_instance, or + * NULL in case of failure. */ struct srd_decoder_instance *srd_instance_new(const char *id, const char *instance_id)