If we agree to accept the patch, I can change privateData to private_data
and resend the patch.

-Umesh

On Dec 17, 2007 7:02 PM, Mark Doliner <[EMAIL PROTECTED]> wrote:

> I'm in favor of making a change along these lines... the patch just avoids
> using variables named "private" which are reserved words in C++.  It's a
> pretty unobtrusive change to jabberd2.  I think the variable should probably
> be "private_data" instead of "privateData," though
>
> -Mark
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:jabberd2-
> > [EMAIL PROTECTED] On Behalf Of umesh sirsiwal
> > Sent: Monday, December 17, 2007 3:57 PM
> > To: jabberd2 development
> > Subject: Re: [jabberd2] Fwd: Patch to allow C++ modules
> >
> >
> > This patch does not any C++ dependency in the code. It just makes it
> > possible to develop a C++ module for personal use if one desires.
> > Otherwise, with every new jabber release we need to patch before we can
> > use it.
> >
> > -Umesh
> >
> >
> > On Dec 17, 2007 6:53 PM, Tomasz Sterna <[EMAIL PROTECTED]> wrote:
> >       On Pn, 2007-12-17 at 17:46 -0500, umesh sirsiwal wrote:
> >       > Jabber2d is written in C and because of its choice of data
> > structure
> >       > variable names, only allows C modules. I want to develop my
> module
> > in
> >       > C++ simply because I like doing so.
> >
> >       Your preferences is up to you.
> >       Even if you had chosen The Dark Side. ;-)
> >
> >       > I went around changing names of some of the variables so that
> they
> > are
> >       > safe for a C++ program. Attached patch accomplishes that.
> >
> >       I will not accept any C++ dependency into jabberd codebase, so
> there
> > is
> >       no need to merge the patch into mainstream.
> >       But it could be of interest for the ones, that like to develop C++
> >       modules for personal use.
> _______________________________________________
> Jabberd2 mailing list
> [email protected]
> http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com
>



-- 
Homepage: http://kashi.webhop.net/
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to