Signal fixes

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@767 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-18 01:32:14 +00:00 committed by cras
commit ac6bfeba1f
3 changed files with 94 additions and 97 deletions

View file

@ -4,6 +4,9 @@
#define new_pv(a) \
(newSVpv((a) == NULL ? "" : (a), (a) == NULL ? 0 : strlen(a)))
#define new_bless(obj, stash) \
sv_bless(newRV_noinc(newSViv(GPOINTER_TO_INT(obj))), stash)
extern GHashTable *perl_stashes;
HV *irssi_get_stash_item(int type, int chat_type);