diff options
Diffstat (limited to 'include/rofi.h')
-rw-r--r-- | include/rofi.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/rofi.h b/include/rofi.h index 7a380f69..d2fc047a 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -76,7 +76,8 @@ typedef enum * * @returns 1 when it matches, 0 if not. */ -typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive, unsigned int index, Switcher *data ); +typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive, + unsigned int index, Switcher *data ); /** * @param sw the Switcher to show. @@ -96,7 +97,8 @@ typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensi */ MenuReturn menu ( Switcher *sw, char **input, char *prompt, unsigned int *selected_line, - unsigned int *next_pos, const char *message ) __attribute__ ( ( nonnull ( 1, 2, 3, 4 ) ) ); + unsigned int *next_pos, + const char *message ) __attribute__ ( ( nonnull ( 1, 2, 3, 4 ) ) ); /** * @param sig The caught signal * @@ -272,8 +274,10 @@ struct _Switcher */ void ( *init )( struct _Switcher *sw ); char ** ( *get_data )( unsigned int *length, struct _Switcher *pd ); - int ( *match )( char **tokens, const char *input, int case_sensitive, int index, struct _Switcher *data ); - SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, struct _Switcher *pd ); + int ( *match )( char **tokens, const char *input, int case_sensitive, int index, + struct _Switcher *data ); + SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, + struct _Switcher *pd ); void ( *destroy )( struct _Switcher *pd ); // Token match. menu_match_cb token_match; |