Skip to main content
Version: 9.0.2

gr_application_quit

#include <gre/gre.h>


int gr_application_quit(
gr_application_t *handle
);

The gr_application_quit function provides a method of asynchronously terminating an executing application handle that has been started by gr_application_run (This can be called from a separate thread or from the main Storyboard thread).

Parameters

ParameterTypeDescription
handlegr_application_t*A pointer to an application handle created using gr_application_create_args.

Returns

TypeDescription
intA zero on success and a non-zero status code on failure.