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
| Parameter | Type | Description |
|---|---|---|
handle | gr_application_t* | A pointer to an application handle created using gr_application_create_args. |
Returns
| Type | Description |
|---|---|
int | A zero on success and a non-zero status code on failure. |