diff src/lrecord.h @ 404:2f8bb876ab1d r21-2-32

Import from CVS: tag r21-2-32
author cvs
date Mon, 13 Aug 2007 11:16:07 +0200
parents a86b2b5e0111
children b8cc9ab3f761
line wrap: on
line diff
--- a/src/lrecord.h	Mon Aug 13 11:15:00 2007 +0200
+++ b/src/lrecord.h	Mon Aug 13 11:16:07 2007 +0200
@@ -184,7 +184,10 @@
   lrecord_type_tooltalk_message,
   lrecord_type_tooltalk_pattern,
   lrecord_type_ldap,
-  lrecord_type_count
+  lrecord_type_pgconn,
+  lrecord_type_pgresult,
+  lrecord_type_pgsetenv,
+  lrecord_type_count /* must be last */
 };
 
 struct lrecord_implementation
@@ -479,8 +482,9 @@
 
 # define DECLARE_LRECORD(c_name, structtype)			\
 extern const struct lrecord_implementation lrecord_##c_name;	\
-INLINE structtype *error_check_##c_name (Lisp_Object obj);	\
-INLINE structtype *						\
+INLINE_HEADER structtype *					\
+error_check_##c_name (Lisp_Object obj);				\
+INLINE_HEADER structtype *					\
 error_check_##c_name (Lisp_Object obj)				\
 {								\
   assert (RECORD_TYPEP (obj, lrecord_type_##c_name));		\
@@ -489,8 +493,9 @@
 extern Lisp_Object Q##c_name##p
 
 # define DECLARE_NONRECORD(c_name, type_enum, structtype)	\
-INLINE structtype *error_check_##c_name (Lisp_Object obj);	\
-INLINE structtype *						\
+INLINE_HEADER structtype *					\
+error_check_##c_name (Lisp_Object obj);				\
+INLINE_HEADER structtype *					\
 error_check_##c_name (Lisp_Object obj)				\
 {								\
   assert (XTYPE (obj) == type_enum);				\