glview_get_callback_data()

Get the callback data that will be passed into callback functions.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_get_callback_data(void **callback_data)

Arguments:

callback_data

The out parameter that gets set to the app-specific data obtained by calls to the glview_set_callback_data() function.

Library:

libglview

Description:

Retrieve the app specific data that is being passed into any invoked callback.

Returns:

GLVIEW_SUCCESS upon success, GLVIEW_FAILURE otherwise, with errno set to the following:
  • EINVAL: A NULL callback_data was passed in.