Changed getClipbaord and putClipboard functions to be more ghost like
[blender.git] / source / blender / src / ghostwinlay.c
index 03e3742559b6a5bc52e257359ed3e25895559741..05eb7cb50ab3adaa9eec5cdfbb1bc004b262f883 100644 (file)
@@ -833,3 +833,11 @@ void winlay_get_screensize(int *width_r, int *height_r) {
 Window *winlay_get_active_window(void) {
        return active_gl_window;
 }
+
+char *getClipboard(int flag) {
+       return (char*)GHOST_getClipboard(flag);
+}
+
+void putClipboard(char *buffer, int flag) {
+       GHOST_putClipboard((GHOST_TInt8*)buffer, flag);
+}