--- np2/x11/debug/viewer.h 2003/12/11 15:11:56 1.1 +++ np2/x11/debug/viewer.h 2011/01/15 19:16:59 1.3 @@ -3,9 +3,7 @@ #if defined(SUPPORT_VIEWER) -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define NP2VIEW_MAX 8 @@ -44,6 +42,7 @@ typedef struct { typedef struct { void *window; void *widget; + void *vscr; void *menu; void *font; UINT32 index; @@ -77,9 +76,7 @@ void viewer_allclose(void); void viewer_allreload(BOOL force); -#ifdef __cplusplus -} -#endif +G_END_DECLS #else /* SUPPORT_VIEWER */