mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -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:
parent
ec0f2f4706
commit
8af17ef24c
@ -1,4 +1,5 @@
|
||||
#include "module.h"
|
||||
#include "irssi-version.h"
|
||||
|
||||
MODULE = Irssi::Core PACKAGE = Irssi
|
||||
PROTOTYPES: ENABLE
|
||||
@ -378,9 +379,24 @@ OUTPUT:
|
||||
|
||||
char *
|
||||
get_irssi_dir()
|
||||
CODE:
|
||||
RETVAL = (char *) get_irssi_dir();
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
char *
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user