This commit is contained in:
Vincent Wei
2020-02-14 22:43:13 +08:00
parent 0b3450bf97
commit 3b639d59d7
7 changed files with 26 additions and 29 deletions
+4 -4
View File
@@ -65,10 +65,6 @@
#ifndef _MGUI_CONTROL_H
#define _MGUI_CONTROL_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "ctrl/ctrlhelper.h"
/**
@@ -166,6 +162,10 @@ extern "C" {
#include "ctrl/animation.h"
#endif /* _MGCTRL_ANIMATION */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifdef __cplusplus
}
#endif /* __cplusplus */
-1
View File
@@ -62,7 +62,6 @@
#ifndef EXT_ANIMATION_H
#define EXT_ANIMATION_H
#ifdef __cplusplus
extern "C" {
#endif
+11 -12
View File
@@ -69,6 +69,17 @@
#ifndef _MGUI_ENDIAN_RW_H
#define _MGUI_ENDIAN_RW_H
/* The macros used to swap values */
/* Try to use superfast macros on systems that support them */
#ifdef linux
#include <endian.h>
#ifdef __arch__swab16
#define ArchSwap16 __arch__swab16
#endif
#ifdef __arch__swab32
#define ArchSwap32 __arch__swab32
#endif
#endif /* linux */
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
@@ -404,18 +415,6 @@ MG_EXPORT int MGUI_RWgetc (MG_RWops* area);
* @{
*/
/* The macros used to swap values */
/* Try to use superfast macros on systems that support them */
#ifdef linux
#include <endian.h>
#ifdef __arch__swab16
#define ArchSwap16 __arch__swab16
#endif
#ifdef __arch__swab32
#define ArchSwap32 __arch__swab32
#endif
#endif /* linux */
/* Use inline functions for compilers that support them, and static
functions for those that do not. Because these functions become
static for compilers that do not support inline functions, this
+5 -3
View File
@@ -64,7 +64,12 @@
#ifndef _MGUI_GDI_H
#define _MGUI_GDI_H
#include "common.h"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include "endianrw.h"
#ifdef __cplusplus
@@ -8385,9 +8390,6 @@ MG_EXPORT int GUIAPI GetTabbedTextExtentPoint (HDC hdc,
#ifdef _MGCHARSET_UNICODE
#include <stddef.h>
#include <stdlib.h>
/**
* \fn int GUIAPI MB2WCEx (PLOGFONT log_font, void* dest, BOOL wc32, \
* const unsigned char* mstr, int n)
+1 -2
View File
@@ -65,6 +65,7 @@
#define _MGUI_MINIGUI_H
#include <stdio.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
@@ -173,8 +174,6 @@ MG_EXPORT RECT GUIAPI GetScreenRect (void);
* @{
*/
#include <sys/types.h>
/**
* \fn BOOL GUIAPI IsServer(void);
* \brief Check whether the current process is the server of MiniGUI-Processes.