diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-08 09:16:59 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-08 09:16:59 +0100 |
commit | dc8fb4f20256bbfb50b683f56886bc31b5a5187f (patch) | |
tree | 2b1d5fd9e4124874c923c9e2847dc8fdac74c785 /include/mode.h | |
parent | 20b2d658a06f158c526f85f621e460fb2570a49b (diff) |
Start making SardemFF happy. Use g_return_if_fail
Diffstat (limited to 'include/mode.h')
-rw-r--r-- | include/mode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h index e20391cc..fb2ded26 100644 --- a/include/mode.h +++ b/include/mode.h @@ -53,8 +53,10 @@ typedef enum * @param mode The mode to initialize * * Initialize mode + * + * @returns FALSE if there was a failure, TRUE if successful */ -void mode_init ( Mode *mode ); +int mode_init ( Mode *mode ); /** * @param mode The mode to destroy |