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

@ -27,6 +27,7 @@
enum {
MODULE_ERROR_ALREADY_LOADED,
MODULE_ERROR_LOAD,
MODULE_ERROR_VERSION_MISMATCH,
MODULE_ERROR_INVALID
};