if (gRootAccessible || (gRootAccessible = new MaiAppRoot())) return gRootAccessible;  return NULL;
if (!mai_initialized) { return NULL; } if (!gRootAccessible) { gRootAccessible = new MaiAppRoot(); NS_ASSERTION(gRootAccessible, "Fail to create MaiAppRoot"); } return gRootAccessible;
mai_get_root(void){    if (gRootAccessible || (gRootAccessible = new MaiAppRoot()))        return gRootAccessible;    return NULL;}