summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdcore.h
diff options
context:
space:
mode:
author npwoods <npwoods@mess.org>2019-09-11 14:16:02 -0400
committer R. Belmont <rb6502@users.noreply.github.com>2019-09-11 14:16:02 -0400
commitbc15184c90a7eaf4cf16ea060916346e390a7c3b (patch)
treebdf475c68602c37cba55338702343f572bbed6ee /src/osd/osdcore.h
parent4f8928432a9db8cd46cfd5c6e2cb262eafaed9d2 (diff)
Changed osd_get_clipboard_text() to return std::string (#5615)
* Changed osd_get_clipboard_text() to return std::string This change has only been tested on Windows. The Un*x/Mac versions were made blindly; they might not even build. This needs to be checked prior to merging. * Fixing Mac OS X build (hopefully)
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r--src/osd/osdcore.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h
index d64ca04c578..22179f9da45 100644
--- a/src/osd/osdcore.h
+++ b/src/osd/osdcore.h
@@ -752,13 +752,8 @@ void osd_break_into_debugger(const char *message);
/*-----------------------------------------------------------------------------
osd_get_clipboard_text: retrieves text from the clipboard
-
- Return value:
-
- the returned string needs to be osd_free()-ed!
-
-----------------------------------------------------------------------------*/
-char *osd_get_clipboard_text(void);
+std::string osd_get_clipboard_text(void);
/***************************************************************************