Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

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.

Document Tags and Contributors

 Contributors to this page: teoli, DarinFisher
 Last updated by: DarinFisher,