diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2022-05-07 11:56:54 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2022-05-07 11:57:16 +0900 |
commit | 548cea989e1e60c0f7e0d73a9c59c17dab7329d9 (patch) | |
tree | 8cdecb5ce05110df6356bd8917643cedd6d4f95b | |
parent | 292f06133eac7639e537e8638425cfa3cd9800ba (diff) | |
download | libhinoko-548cea989e1e60c0f7e0d73a9c59c17dab7329d9.tar.gz |
all: use otherwise instead of else for documentaion
For my preference.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | src/fw_iso_ctx.c | 6 | ||||
-rw-r--r-- | src/fw_iso_ctx_private.c | 6 | ||||
-rw-r--r-- | src/fw_iso_resource.c | 4 | ||||
-rw-r--r-- | src/fw_iso_resource_auto.c | 8 | ||||
-rw-r--r-- | src/fw_iso_resource_once.c | 8 | ||||
-rw-r--r-- | src/fw_iso_rx_single.c | 8 | ||||
-rw-r--r-- | src/fw_iso_tx.c | 8 |
7 files changed, 24 insertions, 24 deletions
diff --git a/src/fw_iso_ctx.c b/src/fw_iso_ctx.c index 3d5ae82..209d473 100644 --- a/src/fw_iso_ctx.c +++ b/src/fw_iso_ctx.c @@ -64,7 +64,7 @@ static void hinoko_fw_iso_ctx_default_init(HinokoFwIsoCtxInterface *iface) * Retrieve the value of cycle timer register. This method call is available * once any isochronous context is created. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -87,7 +87,7 @@ gboolean hinoko_fw_iso_ctx_get_cycle_timer(HinokoFwIsoCtx *self, gint clock_id, * Create [struct@GLib.Source] for [struct@GLib.MainContext] to dispatch events for isochronous * context. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -156,7 +156,7 @@ void hinoko_fw_iso_ctx_release(HinokoFwIsoCtx *self) * context to queue any type of interrupt event for the recent isochronous cycle. Application can * process the content of isochronous packet without waiting for actual hardware interrupt. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ diff --git a/src/fw_iso_ctx_private.c b/src/fw_iso_ctx_private.c index 5bd1473..03ed9dc 100644 --- a/src/fw_iso_ctx_private.c +++ b/src/fw_iso_ctx_private.c @@ -571,7 +571,7 @@ void fw_iso_ctx_state_read_frame(struct fw_iso_ctx_state *state, guint offset, g * context to queue any type of interrupt event for the recent isochronous cycle. Application can * process the content of isochronous packet without waiting for actual hardware interrupt. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. */ gboolean fw_iso_ctx_state_flush_completions(struct fw_iso_ctx_state *state, GError **error) { @@ -594,7 +594,7 @@ gboolean fw_iso_ctx_state_flush_completions(struct fw_iso_ctx_state *state, GErr * Retrieve the value of cycle timer register. This method call is available * once any isochronous context is created. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. */ gboolean fw_iso_ctx_state_get_cycle_timer(struct fw_iso_ctx_state *state, gint clock_id, HinokoCycleTimer *const *cycle_timer, GError **error) @@ -679,7 +679,7 @@ static void finalize_src(GSource *source) * Create [struct@GLib.Source] for [struct@GLib.MainContext] to dispatch events for isochronous * context. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. */ gboolean fw_iso_ctx_state_create_source(struct fw_iso_ctx_state *state, HinokoFwIsoCtx *inst, gboolean (*handle_event)(HinokoFwIsoCtx *inst, diff --git a/src/fw_iso_resource.c b/src/fw_iso_resource.c index 2ddc631..c201538 100644 --- a/src/fw_iso_resource.c +++ b/src/fw_iso_resource.c @@ -92,7 +92,7 @@ static void hinoko_fw_iso_resource_default_init(HinokoFwIsoResourceInterface *if * Open Linux FireWire character device to delegate any request for isochronous * resource management to Linux FireWire subsystem. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ @@ -115,7 +115,7 @@ gboolean hinoko_fw_iso_resource_open(HinokoFwIsoResource *self, const gchar *pat * Create [struct@GLib.Source] for [struct@GLib.MainContext] to dispatch events for isochronous * resource. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ diff --git a/src/fw_iso_resource_auto.c b/src/fw_iso_resource_auto.c index 492a326..0315449 100644 --- a/src/fw_iso_resource_auto.c +++ b/src/fw_iso_resource_auto.c @@ -269,7 +269,7 @@ HinokoFwIsoResourceAuto *hinoko_fw_iso_resource_auto_new() * Initiate allocation of isochronous resource. When the allocation is done, * [signal@FwIsoResource::allocated] signal is emit to notify the result, channel, and bandwidth. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ @@ -332,7 +332,7 @@ end: * Initiate deallocation of isochronous resource. When the deallocation is done, * [signal@FwIsoResource::deallocated] signal is emit to notify the result, channel, and bandwidth. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ @@ -389,7 +389,7 @@ end: * signal. When the call is successful, [property@FwIsoResourceAuto:channel] and * [property@FwIsoResourceAuto:bandwidth] properties are available. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ @@ -423,7 +423,7 @@ gboolean hinoko_fw_iso_resource_auto_allocate_sync(HinokoFwIsoResourceAuto *self * Initiate deallocation of isochronous resource. When the deallocation is done, * [signal@FwIsoResource::deallocated] signal is emit to notify the result, channel, and bandwidth. * - * Returns: TRUE if the overall operation finished successfully, else FALSE. + * Returns: TRUE if the overall operation finished successfully, otherwise FALSE. * * Since: 0.7. */ diff --git a/src/fw_iso_resource_once.c b/src/fw_iso_resource_once.c index c220a1c..fb0b901 100644 --- a/src/fw_iso_resource_once.c +++ b/src/fw_iso_resource_once.c @@ -176,7 +176,7 @@ HinokoFwIsoResourceOnce *hinoko_fw_iso_resource_once_new() * Initiate allocation of isochronous resource without any wait. When the allocation finishes, * [signal@FwIsoResource::allocated] signal is emit to notify the result, channel, and bandwidth. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -228,7 +228,7 @@ gboolean hinoko_fw_iso_resource_once_allocate_async(HinokoFwIsoResourceOnce *sel * deallocation finishes, [signal@FwIsoResource::deallocated] signal is emit to notify the result, * channel, and bandwidth. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -275,7 +275,7 @@ gboolean hinoko_fw_iso_resource_once_deallocate_async(HinokoFwIsoResourceOnce *s * Initiate allocation of isochronous resource and wait for [signal@FwIsoResource::allocated] * signal. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -310,7 +310,7 @@ gboolean hinoko_fw_iso_resource_once_allocate_sync(HinokoFwIsoResourceOnce *self * Initiate deallocation of isochronous resource and wait for [signal@FwIsoResource::deallocated] * signal. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ diff --git a/src/fw_iso_rx_single.c b/src/fw_iso_rx_single.c index 0ddef68..facdca5 100644 --- a/src/fw_iso_rx_single.c +++ b/src/fw_iso_rx_single.c @@ -247,7 +247,7 @@ HinokoFwIsoRxSingle *hinoko_fw_iso_rx_single_new(void) * node corresponding to the given path is used as the controller, thus any path is accepted as * long as process has enough permission for the path. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -279,7 +279,7 @@ gboolean hinoko_fw_iso_rx_single_allocate(HinokoFwIsoRxSingle *self, const char * * Map intermediate buffer to share payload of IR context with 1394 OHCI controller. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -308,7 +308,7 @@ gboolean hinoko_fw_iso_rx_single_map_buffer(HinokoFwIsoRxSingle *self, * hardware interrupt to generate interrupt event. In detail, please refer to documentation about * [signal@FwIsoRxSingle::interrupted] signal. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ @@ -337,7 +337,7 @@ gboolean hinoko_fw_iso_rx_single_register_packet(HinokoFwIsoRxSingle *self, * * Start IR context. * - * Returns: TRUE if the overall operation finishes successfully, else FALSE. + * Returns: TRUE if the overall operation finishes successfully, otherwise FALSE. * * Since: 0.7. */ diff --git a/src/fw_iso_tx.c b/src/fw_iso_tx.c index c64b6d6..c43fac1 100644 --- a/src/fw_iso_tx.c +++ b/src/fw_iso_tx.c @@ -233,7 +233,7 @@ HinokoFwIsoTx *hinoko_fw_iso_tx_new(void) * given path is used as the controller, thus any path is accepted as long as process has enough * permission for the path. * - * Returns: TRUE if the overall operation finishes successful, else FALSE. + * Returns: TRUE if the overall operation finishes successful, otherwise FALSE. * * Since: 0.7. */ @@ -259,7 +259,7 @@ gboolean hinoko_fw_iso_tx_allocate(HinokoFwIsoTx *self, const char *path, Hinoko * * Map intermediate buffer to share payload of IT context with 1394 OHCI controller. * - * Returns: TRUE if the overall operation finishes successful, else FALSE. + * Returns: TRUE if the overall operation finishes successful, otherwise FALSE. * * Since: 0.7. */ @@ -287,7 +287,7 @@ gboolean hinoko_fw_iso_tx_map_buffer(HinokoFwIsoTx *self, guint maximum_bytes_pe * * Start IT context. * - * Returns: TRUE if the overall operation finishes successful, else FALSE. + * Returns: TRUE if the overall operation finishes successful, otherwise FALSE. * * Since: 0.7. */ @@ -319,7 +319,7 @@ gboolean hinoko_fw_iso_tx_start(HinokoFwIsoTx *self, const guint16 *cycle_match, * interrupt to generate interrupt event. In detail, please refer to documentation about * [signal@FwIsoTx::interrupted]. * - * Returns: TRUE if the overall operation finishes successful, else FALSE. + * Returns: TRUE if the overall operation finishes successful, otherwise FALSE. * * Since: 0.7. */ |