1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Added Irssi::version() for returning the IRSSI_VERSION_DATE, fixed get_irssi_dir() and get_irssi_config() not to complain about const char*.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2033 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-16 16:17:16 +00:00 committed by cras
parent ec0f2f4706
commit 8af17ef24c

View File

@ -1,4 +1,5 @@
#include "module.h" #include "module.h"
#include "irssi-version.h"
MODULE = Irssi::Core PACKAGE = Irssi MODULE = Irssi::Core PACKAGE = Irssi
PROTOTYPES: ENABLE PROTOTYPES: ENABLE
@ -378,9 +379,24 @@ OUTPUT:
char * char *
get_irssi_dir() get_irssi_dir()
CODE:
RETVAL = (char *) get_irssi_dir();
OUTPUT:
RETVAL
char * char *
get_irssi_config() get_irssi_config()
CODE:
RETVAL = (char *) get_irssi_config();
OUTPUT:
RETVAL
char *
version()
CODE:
RETVAL = IRSSI_VERSION_DATE;
OUTPUT:
RETVAL
#******************************* #*******************************
MODULE = Irssi::Core PACKAGE = Irssi::Server MODULE = Irssi::Core PACKAGE = Irssi::Server