From 45a982b28334c9bcac46de70aa80aee6193b4451 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Thu, 13 Nov 2025 01:30:24 +0000 Subject: [PATCH] forgot git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@681 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/backend/call.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/backend/call.c diff --git a/src/backend/call.c b/src/backend/call.c new file mode 100644 index 0000000..8832626 --- /dev/null +++ b/src/backend/call.c @@ -0,0 +1,57 @@ +/* $Id$ */ +/* This file gets included by backend */ +#define CALL(NAME) \ + static int _MwLL##NAME##CallInit(void) { \ + int st; \ +\ + if((st = MwLL##NAME##CallInitImpl()) != 0) return st; \ +\ + MwLLCreate = MwLLCreateImpl; \ + MwLLDestroy = MwLLDestroyImpl; \ +\ + MwLLPolygon = MwLLPolygonImpl; \ + MwLLLine = MwLLLineImpl; \ +\ + MwLLAllocColor = MwLLAllocColorImpl; \ + MwLLColorUpdate = MwLLColorUpdateImpl; \ + MwLLFreeColor = MwLLFreeColorImpl; \ +\ + MwLLGetXYWH = MwLLGetXYWHImpl; \ + MwLLSetXY = MwLLSetXYImpl; \ + MwLLSetWH = MwLLSetWHImpl; \ +\ + MwLLSetTitle = MwLLSetTitleImpl; \ +\ + MwLLPending = MwLLPendingImpl; \ + MwLLNextEvent = MwLLNextEventImpl; \ +\ + MwLLCreatePixmap = MwLLCreatePixmapImpl; \ + MwLLPixmapUpdate = MwLLPixmapUpdateImpl; \ + MwLLDestroyPixmap = MwLLDestroyPixmapImpl; \ + MwLLDrawPixmap = MwLLDrawPixmapImpl; \ + MwLLSetIcon = MwLLSetIconImpl; \ +\ + MwLLForceRender = MwLLForceRenderImpl; \ +\ + MwLLSetCursor = MwLLSetCursorImpl; \ + MwLLDetach = MwLLDetachImpl; \ + MwLLShow = MwLLShowImpl; \ +\ + MwLLMakePopup = MwLLMakePopupImpl; \ +\ + MwLLSetSizeHints = MwLLSetSizeHintsImpl; \ + MwLLMakeBorderless = MwLLMakeBorderlessImpl; \ +\ + MwLLSetBackground = MwLLSetBackgroundImpl; \ +\ + MwLLFocus = MwLLFocusImpl; \ + MwLLGrabPointer = MwLLGrabPointerImpl; \ +\ + MwLLSetClipboard = MwLLSetClipboardImpl; \ + MwLLGetClipboard = MwLLGetClipboardImpl; \ +\ + MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \ +\ + return 0; \ + } \ + int (*MwLL##NAME##CallInit)(void) = _MwLL##NAME##CallInit;