changeset 1638:1ecc2785dce3

[xemacs-hg @ 2003-08-21 14:08:32 by james] Define DECLARE_MODULE_API_LRECORD when not ERROR_CHECK_TYPES.
author james
date Thu, 21 Aug 2003 14:08:36 +0000
parents d14b4fa995df
children 49a605442131
files src/ChangeLog src/lrecord.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 20 21:52:13 2003 +0000
+++ b/src/ChangeLog	Thu Aug 21 14:08:36 2003 +0000
@@ -1,3 +1,8 @@
+2003-08-21  Jerry James  <james@xemacs.org>
+
+	* lrecord.h (DECLARE_MODULE_API_LRECORD): Also define when not
+	ERROR_CHECK_TYPES.
+
 2003-08-19  René Kyllingstad <listmailxemacs@kyllingstad.com>
 
 	* alloc.c (kkcc_gc_stack_init): 
--- a/src/lrecord.h	Wed Aug 20 21:52:13 2003 +0000
+++ b/src/lrecord.h	Thu Aug 21 14:08:36 2003 +0000
@@ -1196,6 +1196,9 @@
 # define DECLARE_LRECORD(c_name, structtype)			\
 extern Lisp_Object Q##c_name##p;				\
 extern const struct lrecord_implementation lrecord_##c_name
+# define DECLARE_MODULE_API_LRECORD(c_name, structtype)			\
+extern MODULE_API Lisp_Object Q##c_name##p;				\
+extern MODULE_API const struct lrecord_implementation lrecord_##c_name
 # define DECLARE_EXTERNAL_LRECORD(c_name, structtype)		\
 extern Lisp_Object Q##c_name##p;				\
 extern int lrecord_type_##c_name;				\