Re: Questions for eventual Python module

Timo Sirainen <[email protected]> Tue, 27 Aug 2002 15:09:24 +0300
Newsgroups gmane.network.irc.irssi.devel
Message-ID <[email protected]>
On Mon, Aug 26, 2002 at 09:25:07PM -0700, Manoj Kasichainula wrote:
> Hmmm. So modules that add their own signals couldn't have their signals
> processed by scripts?

Right.

> Maybe in the future, each _REC could include a field with a magic number
> (or a string pointer) indicating the type. Then signal handling code
> could look at the magic numbers and convert them appropriately. I only
> suggest this because I know you're pondering a rewrite :)

There's one problem with that - the string type. I'd rather keep all strings
in regular char*s than put them into some structure which gets passed around
in signals..