Hi Michael
On Tue, 08 Jan 2013 18:06:23 +0000 (GMT), Michael Drake wrote:
> Then the gui_{get|set}_clipboard functions will be called by the core if
> the core is able to deal with the action.
For gui_get_clipboard, if the clipboard is empty should the frontend
return a pointer to a NULL string? Currently I'm returning NULL, but
the core doesn't like that. Returning NULL makes more sense to me, as
it makes it easy to bail out early if memory allocations are failing.
Chris
No comments:
Post a Comment