34 #ifndef CTK_FILEDIALOG_H_
35 #define CTK_FILEDIALOG_H_
39 struct ctk_filedialog_state {
40 unsigned char fileptr;
44 void ctk_filedialog_init(
CC_REGISTER_ARG struct ctk_filedialog_state *s);
45 void ctk_filedialog_open(
CC_REGISTER_ARG struct ctk_filedialog_state *s,
46 const char *buttontext, process_event_t event);
47 char ctk_filedialog_eventhandler(
struct ctk_filedialog_state *s,
48 process_event_t ev, process_data_t data);
#define CC_REGISTER_ARG
Configure if the C compiler supports the "register" keyword for function arguments.