mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
28a7908e73
commit
755a8d40eb
31 changed files with 386 additions and 217 deletions
|
|
@ -33,7 +33,12 @@ void module_unload(MODULE_REC *module);
|
|||
|
||||
#define MODULE_CHECK_CAST(object, cast, type_field, id) \
|
||||
((cast *) module_check_cast(object, offsetof(cast, type_field), id))
|
||||
#define MODULE_CHECK_CAST_MODULE(object, cast, type_field, module, id) \
|
||||
((cast *) module_check_cast_module(object, \
|
||||
offsetof(cast, type_field), module, id))
|
||||
void *module_check_cast(void *object, int type_pos, const char *id);
|
||||
void *module_check_cast_module(void *object, int type_pos,
|
||||
const char *module, const char *id);
|
||||
|
||||
/* return unique number across all modules for `id' */
|
||||
int module_get_uniq_id(const char *module, int id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue