comparison mcabber/doc/HOWTO_modules.txt @ 1754:d8442bcb33b7

Reorder fields in module info struct
author Myhailo Danylenko <isbear@ukrpost.net>
date Sat, 13 Mar 2010 12:30:30 +0200
parents 4a7c7900f600
children 7befbd8e932d
comparison
equal deleted inserted replaced
1753:5173a1350725 1754:d8442bcb33b7
18 typedef void (*module_uninit_t)(void); 18 typedef void (*module_uninit_t)(void);
19 19
20 typedef struct module_info_struct module_info_t; 20 typedef struct module_info_struct module_info_t;
21 struct module_info_struct { 21 struct module_info_struct {
22 const gchar *branch; 22 const gchar *branch;
23 module_init_t init;
24 module_uninit_t uninit;
25 const gchar **requires;
26 guint api; 23 guint api;
27 const gchar *version; 24 const gchar *version;
28 const gchar *description; 25 const gchar *description;
26 const gchar **requires;
27 module_init_t init;
28 module_uninit_t uninit;
29 module_info_t *next; 29 module_info_t *next;
30 }; 30 };
31 -------------------------------------------------------- 31 --------------------------------------------------------
32 32
33 Callbacks init and uninit will be called after module 33 Callbacks init and uninit will be called after module