X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Flrecord.h;h=ef86a380fc0d26356aad9b1fcf812473560ab488;hp=d222ca306854be634c7a7f5525c1ff0a2b72baff;hb=2fd9701a4f902054649dde9143a3f77809afee8f;hpb=3890a2e3064a7f562107c58e59d928284ec04741 diff --git a/src/lrecord.h b/src/lrecord.h index d222ca3..ef86a38 100644 --- a/src/lrecord.h +++ b/src/lrecord.h @@ -184,7 +184,10 @@ enum lrecord_type 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 @@ extern Lisp_Object (*lrecord_markers[]) (Lisp_Object); # 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 @@ error_check_##c_name (Lisp_Object obj) \ 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); \