From 453acd4ae8b9d352b48b025aadbcc629c87e2e87 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Mar 2020 21:52:46 +0100 Subject: Move puglGetClipboard() after puglGetClipboard() for consistency --- pugl/pugl.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 9a1b999..e0ea5d6 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -800,17 +800,6 @@ puglGrabFocus(PuglView* view); PUGL_API bool puglHasFocus(const PuglView* view); -/** - Get clipboard contents. - - @param view The view. - @param[out] type Set to the MIME type of the data. - @param[out] len Set to the length of the data in bytes. - @return The clipboard contents. -*/ -PUGL_API const void* -puglGetClipboard(PuglView* view, const char** type, size_t* len); - /** Set clipboard contents. @@ -825,6 +814,17 @@ puglSetClipboard(PuglView* view, const void* data, size_t len); +/** + Get clipboard contents. + + @param view The view. + @param[out] type Set to the MIME type of the data. + @param[out] len Set to the length of the data in bytes. + @return The clipboard contents. +*/ +PUGL_API const void* +puglGetClipboard(PuglView* view, const char** type, size_t* len); + /** Request user attention. -- cgit v1.2.1