FInitializeModuleFunctionPtr

Function pointer type for InitializeModule().

Choose your operating system:

Windows

macOS

Linux

Type

typedef IModuleInterface *(* FInitializeModuleFunctionPtr

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h

Include

#include "Modules/ModuleManager.h"

Remarks

Function pointer type for InitializeModule().

All modules must have an InitializeModule() function. Usually this is declared automatically using the IMPLEMENT_MODULE macro below. The function must be declared using as 'extern "C"' so that the name remains undecorated. The object returned will be "owned" by the caller, and will be deleted by the caller before the module is unloaded.