hnm_DisplayEvent_create()

Create a new DisplayEvent instance.

Synopsis:

#include <hnm/display_event.h>
 
hnm_DisplayEvent* hnm_DisplayEvent_create()

Arguments:

Library:

libhnm

Description:

This function allocates a new hnm_DisplayEvent structure and initializes all its members to zero with the exception of the appraise and service callbacks, which will have the correct functions assigned to them.

Returns:

A pointer to a new hnm_DisplayEvent structure. The memory returned by this function is transferred to the calling context responsible for deleting it.