Mercurial > hg > xemacs-beta
diff src/tooltalk.h @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | c5d627a313b1 |
children | b8cc9ab3f761 |
line wrap: on
line diff
--- a/src/tooltalk.h Mon Aug 13 11:12:06 2007 +0200 +++ b/src/tooltalk.h Mon Aug 13 11:13:30 2007 +0200 @@ -22,24 +22,22 @@ /* Synched up with: Not in FSF. */ -#ifndef _XEMACS_TOOLTALK_H_ -#define _XEMACS_TOOLTALK_H_ +#ifndef INCLUDED_tooltalk_h_ +#define INCLUDED_tooltalk_h_ #include TT_C_H_PATH -struct Lisp_Tooltalk_Message; -DECLARE_LRECORD (tooltalk_message, struct Lisp_Tooltalk_Message); -#define XTOOLTALK_MESSAGE(x) XRECORD (x, tooltalk_message, struct Lisp_Tooltalk_Message) +typedef struct Lisp_Tooltalk_Message Lisp_Tooltalk_Message; +DECLARE_LRECORD (tooltalk_message, Lisp_Tooltalk_Message); +#define XTOOLTALK_MESSAGE(x) XRECORD (x, tooltalk_message, Lisp_Tooltalk_Message) #define XSETTOOLTALK_MESSAGE(x, p) XSETRECORD (x, p, tooltalk_message) #define TOOLTALK_MESSAGEP(x) RECORDP (x, tooltalk_message) -#define GC_TOOLTALK_MESSAGEP(x) GC_RECORDP (x, tooltalk_message) #define CHECK_TOOLTALK_MESSAGE(x) CHECK_RECORD (x, tooltalk_message) -struct Lisp_Tooltalk_Pattern; -DECLARE_LRECORD (tooltalk_pattern, struct Lisp_Tooltalk_Pattern); -#define XTOOLTALK_PATTERN(x) XRECORD (x, tooltalk_pattern, struct Lisp_Tooltalk_Pattern) +typedef struct Lisp_Tooltalk_Pattern Lisp_Tooltalk_Pattern; +DECLARE_LRECORD (tooltalk_pattern, Lisp_Tooltalk_Pattern); +#define XTOOLTALK_PATTERN(x) XRECORD (x, tooltalk_pattern, Lisp_Tooltalk_Pattern) #define XSETTOOLTALK_PATTERN(x, p) XSETRECORD (x, p, tooltalk_pattern) #define TOOLTALK_PATTERNP(x) RECORDP (x, tooltalk_pattern) -#define GC_TOOLTALK_PATTERNP(x) GC_RECORDP (x, tooltalk_pattern) #define CHECK_TOOLTALK_PATTERN(x) CHECK_RECORD (x, tooltalk_pattern) #define TOOLTALK_MESSAGE_KEY 100 @@ -61,4 +59,4 @@ extern Lisp_Object Qtooltalk_error; -#endif /* _XEMACS_TOOLTALK_H_ */ +#endif /* INCLUDED_tooltalk_h_ */