nsStaticModuleInfo

Summary

This data structure is used by NS_InitXPCOM3 to specify static XPCOM modules.

#include "nsXPCOM.h"

struct nsStaticModuleInfo {
  const char*      name;
  nsGetModuleProc  getModule;
};

Members

name
This member provides the name of the module as a null-terminated, ASCII-valued character array.
getModule
This member provides a function pointer of type nsGetModuleProc that returns a nsIModule instance.