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)

Since:

BlackBerry 10.0.0

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 (For the qcc command, use the -l glview option to link against this library)

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.
See also:

glview_set_callback_data()

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus