On 7 Jul 2006 05:27:22 -0700, Igor <[EMAIL PROTECTED]> wrote:
Hello!
Say I have inteface like this:
interface IHello : nsISupports
{
void hello(in long p1);
};
xpidl.exe generates C++ header file with invalid (imho) member name for
IHello interface:
...
/* void hello (in long p1); */
NS_IMETHOD Hello(PRInt32 p1) = 0;
};
So, how do I force it to generate correct one: hello() not Hello()?
The xpidl compiler capitalizes method names when generating C++ headers to
support existing C++ convention in Mozilla. But, it's better to use
interCaps style in your idl, so that you follow JavaScript convention(as you
will be calling those methods from JavaScript).
- Rajendra Prasad Murakonda,
http://prodizy.livejournal.com/
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom