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

GetGlobalMemoryService

« XPCOM API Reference

Summary

The GetGlobalMemoryService function returns a reference to XPCOM's global nsIMemory object.

 static nsIMemory* GetGlobalMemoryService();

Return Values

This function returns nsnull if the global memory manager does not exist or could not be initialized.

Remarks

This function returns the same value as the NS_GetMemoryManager function.

See Also

NS_GetMemoryManager

Document Tags and Contributors

 Contributors to this page: Sheppy, Pmash
 Last updated by: Sheppy,