aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-03 21:13:40 +0100
committerDavid Robillard <d@drobilla.net>2019-11-09 12:15:17 +0100
commitb5f04656a4b3d1b43a66585ead8ef55536a4fdbc (patch)
treeefc8765b6e7a5c670735205593a7daed38bce83b /pugl/pugl.h
parentbe838db18af13390cb9f705d36ab83396d2dd1e6 (diff)
downloadpugl-b5f04656a4b3d1b43a66585ead8ef55536a4fdbc.tar.gz
pugl-b5f04656a4b3d1b43a66585ead8ef55536a4fdbc.tar.bz2
pugl-b5f04656a4b3d1b43a66585ead8ef55536a4fdbc.zip
Add puglStrerror() and improve test program error reporting
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index f08925f..0232d86 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -410,6 +410,13 @@ typedef union {
} PuglEvent;
/**
+ Return a string describing a status code.
+*/
+PUGL_API
+const char*
+puglStrerror(PuglStatus status);
+
+/**
@anchor world
@name World
The top level context of a Pugl application.