From: Uwe Hermann Date: Fri, 3 May 2013 19:21:30 +0000 (+0200) Subject: Doxygen: Various fixes. X-Git-Tag: libsigrokdecode-0.2.0~4 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff_plain;h=4cc0d9fe8d4f0b8d7d92aab6d5d63bf143fbe264 Doxygen: Various fixes. --- diff --git a/Doxyfile b/Doxyfile index c0e7311..abb589b 100644 --- a/Doxyfile +++ b/Doxyfile @@ -687,7 +687,7 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = config.h sigrokdecode-internal.h exception.c \ +EXCLUDE = config.h libsigrokdecode-internal.h exception.c \ module_sigrokdecode.c type_decoder.c type_logic.c \ util.c @@ -706,7 +706,7 @@ EXCLUDE_SYMLINKS = NO # # Ignore the following files and directories (see also EXCLUDE above): # - config.h: Non-public stuff, the file doesn't get installed. -# - sigrokdecode-internal.h: Non-public stuff, the file doesn't get installed. +# - libsigrokdecode-internal.h: Non-public stuff, the file isn't installed. # - decoders/*: The decoders themselves don't contain public API. # - exception.c: No public API stuff in there currently. # - module_sigrokdecode.c: No public API stuff in there currently. diff --git a/controller.c b/controller.c index c9825b9..9b8d35b 100644 --- a/controller.c +++ b/controller.c @@ -112,10 +112,10 @@ extern SRD_PRIV PyTypeObject srd_logic_type; * This initializes the Python interpreter, and creates and initializes * a "sigrokdecode" Python module. * - * Then, it searches for sigrok protocol decoder files (*.py) in the - * "decoders" subdirectory of the the sigrok installation directory. + * Then, it searches for sigrok protocol decoders in the "decoders" + * subdirectory of the the libsigrokdecode installation directory. * All decoders that are found are loaded into memory and added to an - * internal list of decoders, which can be queried via srd_decoders_list(). + * internal list of decoders, which can be queried via srd_decoder_list(). * * The caller is responsible for calling the clean-up function srd_exit(), * which will properly shut down libsigrokdecode and free its allocated memory. @@ -124,12 +124,12 @@ extern SRD_PRIV PyTypeObject srd_logic_type; * are not allowed. * * @param path Path to an extra directory containing protocol decoders - * which will be added to the Python sys.path, or NULL. + * which will be added to the Python sys.path. May be NULL. * * @return SRD_OK upon success, a (negative) error code otherwise. - * Upon Python errors, return SRD_ERR_PYTHON. If the sigrok decoders - * directory cannot be accessed, return SRD_ERR_DECODERS_DIR. - * If not enough memory could be allocated, return SRD_ERR_MALLOC. + * Upon Python errors, SRD_ERR_PYTHON is returned. If the decoders + * directory cannot be accessed, SRD_ERR_DECODERS_DIR is returned. + * If not enough memory could be allocated, SRD_ERR_MALLOC is returned. * * @since 0.1.0 */ diff --git a/decoder.c b/decoder.c index 21e24c4..a7e5822 100644 --- a/decoder.c +++ b/decoder.c @@ -448,7 +448,7 @@ static void free_probes(GSList *probelist) } /** - * Unload decoder module. + * Unload the specified protocol decoder. * * @param dec The struct srd_decoder to be unloaded. *