MakeFunctionPtr (open)

Dynamically create a function/macro pointer

Syntax

// Core function, no LOADLIB necessary

FUNCTION PTR FUNCTION MakeFunctionPtr(STRING functionname)

Parameters

STRING functionname

Name of the function (unmangled, must be public, using the "lib#function" syntax)

Return value

FUNCTION PTR

A pointer to the function in question. Throws if the function was not found

Description

This function dynamically loads a function or macro pointer from an external library. If the library was not loaded yet, it will be initialized.