开发者

What does NS_IMETHODIMP means in a XPCOM?

I'm having trouble to find the meaning of his NS_IMETHODIMP in a XPCOM, 开发者_运维技巧and I would like to understand this function's signature:

NS_IMETHODIMP myConfig::GetProperty(const char *name, char **_retval NS_OUTPARAM)
{
    //...
}


It depends on your platform, but in general it's just a #define for nsresult. On Windows, it's a bit different, and it's a #define for nsresult __stdcall.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜