mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::Dcc
always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which DCC uses. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2092 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
99a6a85b85
commit
3819189ef4
14 changed files with 35 additions and 31 deletions
|
|
@ -28,10 +28,14 @@ char *perl_function_get_package(const char *function);
|
|||
# define PL_sv_undef sv_undef
|
||||
#endif
|
||||
|
||||
#define irssi_bless(object) \
|
||||
#define iobject_bless(object) \
|
||||
((object) == NULL ? &PL_sv_undef : \
|
||||
irssi_bless_iobject((object)->type, (object)->chat_type, object))
|
||||
|
||||
#define simple_iobject_bless(object) \
|
||||
((object) == NULL ? &PL_sv_undef : \
|
||||
irssi_bless_iobject((object)->type, 0, object))
|
||||
|
||||
#define plain_bless(object, stash) \
|
||||
((object) == NULL ? &PL_sv_undef : \
|
||||
irssi_bless_plain(stash, object))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue