static InterfaceInfoManagerImpl* impl = NULL; if(!impl) { impl = new InterfaceInfoManagerImpl();  } if(impl) NS_ADDREF(impl); return impl;
return InterfaceInfoManagerImpl::GetInterfaceInfoManager();
XPT_GetInterfaceInfoManager(){    static InterfaceInfoManagerImpl* impl = NULL;    if(!impl)    {        impl = new InterfaceInfoManagerImpl();        // XXX ought to check for properly formed impl here..    }    if(impl)        NS_ADDREF(impl);    return impl;}