add bool and callback

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@429 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-20 20:18:19 +00:00
parent 768bb7327b
commit 4f34acb1f3
2 changed files with 5 additions and 0 deletions

View File

@@ -47,5 +47,6 @@
#define MwNcloseHandler "Cclose" /* NULL */
#define MwNfocusInHandler "CfocusIn" /* NULL */
#define MwNfocusOutHandler "CfocusOut" /* NULL */
#define MwNfileChosenHandler "CfileChosen" /* char* */
#endif

View File

@@ -45,6 +45,10 @@ typedef unsigned __int64 MwOffset;
typedef unsigned long MwOffset; /* out of hope */
#endif
typedef unsigned char MwBool;
#define MwTRUE ((MwBool)1)
#define MwFALSE ((MwBool)0)
#include <Mw/LowLevel.h>
struct _MwPoint {