mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
EXTERN_C_START
This commit is contained in:
parent
031f65429f
commit
21ab439bfb
1 changed files with 16 additions and 0 deletions
|
@ -23,6 +23,22 @@
|
||||||
|
|
||||||
#include "xptypes.h"
|
#include "xptypes.h"
|
||||||
|
|
||||||
|
#ifndef EXTERN_C_START
|
||||||
|
# ifdef CPLUS
|
||||||
|
# define EXTERN_C_START extern "C" {
|
||||||
|
# else
|
||||||
|
# define EXTERN_C_START
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EXTERN_C_END
|
||||||
|
# ifdef CPLUS
|
||||||
|
# define EXTERN_C_END }
|
||||||
|
# else
|
||||||
|
# define EXTERN_C_END
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct XP_Rect {
|
typedef struct XP_Rect {
|
||||||
XP_S16 left;
|
XP_S16 left;
|
||||||
XP_S16 top;
|
XP_S16 top;
|
||||||
|
|
Loading…
Reference in a new issue