at least no more segfault
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-28 16:30:01 +00:00
commit 39b3c035fc
8 changed files with 104 additions and 11 deletions

View file

@ -10,6 +10,10 @@
#include <Mw/TypeDefs.h>
#include <Mw/LowLevel.h>
#ifdef __cplusplus
extern "C" {
#endif
struct _MwLLClassicMacOS {
struct _MwLLCommon common;
@ -32,4 +36,8 @@ struct _MwLLClassicMacOSPixmap {
MWDECL int MwLLClassicMacOSCallInit(void);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -160,7 +160,9 @@ typedef struct {
#define OBJC(x) void*
#endif
MWDECL int MwLLCocoaCallInit(void);
#ifdef __cplusplus
extern "C" {
#endif
struct _MwLLCocoa {
struct _MwLLCommon common;
@ -178,4 +180,10 @@ struct _MwLLCocoaPixmap {
real;
};
MWDECL int MwLLCocoaCallInit(void);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -10,6 +10,10 @@
#include <Mw/TypeDefs.h>
#include <Mw/LowLevel.h>
#ifdef __cplusplus
extern "C" {
#endif
struct _MwLLGDI {
struct _MwLLCommon common;
@ -43,4 +47,8 @@ struct _MwLLGDIPixmap {
MWDECL int MwLLGDICallInit(void);
MWDECL HCURSOR MwLLGDICreateCursor(MwCursor* image, MwCursor* mask);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -16,8 +16,16 @@
#include <pthread.h>
#include <dbus/dbus.h>
#ifdef __cplusplus
extern "C" {
#endif
MWDECL int MwLLWaylandCallInit(void);
#ifdef __cplusplus
}
#endif
#define CSD_BORDER_FRAME_LEFT 5
#define CSD_BORDER_FRAME_RIGHT 5
#define CSD_BORDER_FRAME_TOP 24

View file

@ -17,6 +17,10 @@
#include <X11/extensions/Xrender.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct _MwLLX11 {
struct _MwLLCommon common;
@ -86,4 +90,8 @@ struct _MwLLX11Pixmap {
MWDECL int MwLLX11CallInit(void);
MWDECL Cursor MwLLX11CreateCursor(Display* display, MwCursor* image, MwCursor* mask);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -62,6 +62,11 @@
#include <dlfcn.h>
#endif
#if defined(__HAIKU__) && defined(__cplusplus)
#include <Window.h>
#include <View.h>
#endif
#ifdef __APPLE__
#include <mach/clock.h>
#include <mach/mach.h>