module check irssi version

Add explicit checks into every module to match the ABI version defined
in common.h
This commit is contained in:
ailin-nemui 2015-11-24 00:08:20 +01:00
commit ff8ccaf08b
10 changed files with 58 additions and 1 deletions

View file

@ -166,6 +166,7 @@ enum {
TXT_MODULE_ALREADY_LOADED,
TXT_MODULE_NOT_LOADED,
TXT_MODULE_LOAD_ERROR,
TXT_MODULE_VERSION_MISMATCH,
TXT_MODULE_INVALID,
TXT_MODULE_LOADED,
TXT_MODULE_UNLOADED,