[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plugin interface: some minor changes
On 14 Mar 2002 04:51:15 -0800
Alexander Hvostov <root@aoi.dyndns.org> wrote:
> > 4) It might be possible to write plugins in C++ (?).
>
> Are you trying to imply that it wasn't possible to write them in C++ in
> 1.8.x?
>
> Because I did just that.
>
> In any event, when I get to rewriting my C++ code for this new plugin
> interface, I'll get plenty of opportunity to test this...
>
> Regards,
>
> Alex.
Well I added in the:
#ifdef __cplusplus
extern "C" {
#endif
into xchat-plugin.h.
You probably need to put that around your xchat_plugin_init routine too,
so that it doesn't do any C++ symbol mangling.
Also I forgot these changes:
* Changed all xchat_get_info and list fields from "chan" to "channel"
* Changed "prefix" field to type string.
* Changed "to" DCC field to "nick".
--
Peter Zelezny. <zed@linux.com>
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/