gr_application_get_data

#include <gre/gre.h>                
int gr_application_get_data(
  gr_application_t *app, 
  const char *key, 
  void **data, 
  char **format
);

            

The gr_application_get_data function provides an interface to get Storyboard data variables associated with a key, and their formats.


Parameters:

        app      A pointer to an application handle created using gr_application_create_args.
        key      The data key variable to set
        data     Location to store the returned data, this is a pointer into the database and should not be released
        format   Location to store the returned data format, this is a pointer into the database and should not be released
        
Returns:

        Zero on success, -1 on failure.
        

The gr_application_get_data function is a method of retrieving the data values and formats for any keys associated Storyboard engine variables.