EXTERN_C_START

This commit is contained in:
ehouse 2005-01-31 03:30:26 +00:00
parent 031f65429f
commit 21ab439bfb

View file

@ -23,6 +23,22 @@
#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 {
XP_S16 left;
XP_S16 top;