comparison gui/interface.h @ 33737:71c29e8ec68f

Move string functions from interface.c to string.c. Additionally, change char parameter of gstrchr() to const and rename parameter size of gstrncmp() n. The Win32 GUI now needs gstrdup() defined before its first usage.
author ib
date Thu, 07 Jul 2011 08:32:10 +0000
parents 1fbe7adc4eaf
children 9f6d46d325de
comparison
equal deleted inserted replaced
33736:a5a54c7a15ce 33737:71c29e8ec68f
225 extern float gtkEquChannels[6][10]; 225 extern float gtkEquChannels[6][10];
226 226
227 void gaddlist(char ***list, const char *entry); 227 void gaddlist(char ***list, const char *entry);
228 void gfree(void **p); 228 void gfree(void **p);
229 void gmp_msg(int mod, int lev, const char *format, ...); 229 void gmp_msg(int mod, int lev, const char *format, ...);
230 char *gstrchr(char *str, int c);
231 int gstrcmp(const char *a, const char *b);
232 char *gstrdup(const char *str);
233 void *gtkSet(int cmd, float fparam, void *vparam); 230 void *gtkSet(int cmd, float fparam, void *vparam);
234 void guiDone(void); 231 void guiDone(void);
235 void guiExit(enum exit_reason how); 232 void guiExit(enum exit_reason how);
236 int gui(int what, void *arg); 233 int gui(int what, void *arg);
237 void guiInit(void); 234 void guiInit(void);