glview_register_finalize_callback()

Register a callback that will be fired once the execution loop is exited, but before glview is destroyed.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_register_finalize_callback(finalize_callback finalize_callback)

Arguments:

finalize_callback

The function to call immediately after exiting the event loop. If finalize_callback is NULL, any previously registered callback will be disabled and no function will be called.

Library:

libglview

Description:

Returns:

GLVIEW_SUCCESS