aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 14:23:40 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 16:49:47 -0400
commit692dbf482859e91f0dbadaa97152ab779f9a4648 (patch)
treed44fc399b8babcb45bc3c9f8e95b784496f06c72 /include/pugl
parentd8e02dad9e4a19b5b4e5234ea14b6f0f0bef9fab (diff)
downloadpugl-692dbf482859e91f0dbadaa97152ab779f9a4648.tar.gz
pugl-692dbf482859e91f0dbadaa97152ab779f9a4648.tar.bz2
pugl-692dbf482859e91f0dbadaa97152ab779f9a4648.zip
Rename PUGL_UNSUPPORTED_TYPE to be more generic
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 4f30348..4abe247 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -585,7 +585,7 @@ typedef enum {
PUGL_REALIZE_FAILED, ///< System view realization failed
PUGL_SET_FORMAT_FAILED, ///< Failed to set pixel format
PUGL_CREATE_CONTEXT_FAILED, ///< Failed to create drawing context
- PUGL_UNSUPPORTED_TYPE, ///< Unsupported data type
+ PUGL_UNSUPPORTED, ///< Unsupported operation
} PuglStatus;
/// Return a string describing a status code
@@ -1302,8 +1302,8 @@ puglStopTimer(PuglView* view, uintptr_t id);
puglPostRedisplayRect(), but will always send a message to the X server,
even when called in an event handler.
- @return #PUGL_UNSUPPORTED_TYPE if sending events of this type is not
- supported, #PUGL_UNKNOWN_ERROR if sending the event failed.
+ @return #PUGL_UNSUPPORTED if sending events of this type is not supported,
+ #PUGL_UNKNOWN_ERROR if sending the event failed.
*/
PUGL_API
PuglStatus