Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/test/multitest/WindowData.c')
-rw-r--r--intern/ghost/test/multitest/WindowData.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/intern/ghost/test/multitest/WindowData.c b/intern/ghost/test/multitest/WindowData.c
index ea341ffa3be..7d3cbec43f3 100644
--- a/intern/ghost/test/multitest/WindowData.c
+++ b/intern/ghost/test/multitest/WindowData.c
@@ -26,25 +26,25 @@
#include "WindowData.h"
struct _WindowData {
- void *data;
- WindowDataHandler handler;
+ void *data;
+ WindowDataHandler handler;
};
WindowData *windowdata_new(void *data, WindowDataHandler handler)
{
- WindowData *wb = MEM_mallocN(sizeof(*wb), "windowdata_new");
- wb->data = data;
- wb->handler = handler;
+ WindowData *wb = MEM_mallocN(sizeof(*wb), "windowdata_new");
+ wb->data = data;
+ wb->handler = handler;
- return wb;
+ return wb;
}
void windowdata_handle(WindowData *wb, GHOST_EventHandle evt)
{
- wb->handler(wb->data, evt);
+ wb->handler(wb->data, evt);
}
void windowdata_free(WindowData *wb)
{
- MEM_freeN(wb);
+ MEM_freeN(wb);
}