changeset 1927:44905d8fae13

[xemacs-hg @ 2004-02-25 17:42:34 by james] Export symbols needed by the LDAP module. Fixes the Cygwin build.
author james
date Wed, 25 Feb 2004 17:42:37 +0000
parents c230111e6d4d
children ba24fcdb4cfe
files src/ChangeLog src/general-slots.h src/lisp.h src/sysdep.h src/xemacs.def.in.in
diffstat 5 files changed, 37 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Feb 24 22:50:32 2004 +0000
+++ b/src/ChangeLog	Wed Feb 25 17:42:37 2004 +0000
@@ -1,3 +1,13 @@
+2004-02-25  Jerry James  <james@xemacs.org>
+
+	* general-slots.h: Make Qcritical, Qdelete, Qsearch, and Qsimple
+	visible to modules (all are used by the LDAP module).
+	* lisp.h: Make stuff in QUIT and QUITP visible to modules.
+	* sysdep.h: Make speed_up_interrupts and slow_down_interrupts
+	visible to modules (both are used by the LDAP module).
+	* xemacs.def.in.in: Reflect all of the above additions to the
+	module API.
+
 2004-02-20  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* bytecode.c (execute_optimized_program):
--- a/src/general-slots.h	Tue Feb 24 22:50:32 2004 +0000
+++ b/src/general-slots.h	Wed Feb 25 17:42:37 2004 +0000
@@ -88,7 +88,7 @@
 SYMBOL (Qconsole);
 SYMBOL (Qcontrol_1);
 SYMBOL (Qcopies);
-SYMBOL (Qcritical);
+SYMBOL_MODULE_API (Qcritical);
 SYMBOL (Qctext);
 SYMBOL (Qcurrent);
 SYMBOL (Qcursor);
@@ -97,7 +97,7 @@
 SYMBOL (Qdead);
 SYMBOL (Qdebug);
 SYMBOL (Qdefault);
-SYMBOL (Qdelete);
+SYMBOL_MODULE_API (Qdelete);
 SYMBOL (Qdelq);
 SYMBOL (Qdescription);
 SYMBOL_KEYWORD (Q_descriptor);
@@ -241,13 +241,13 @@
 SYMBOL (Qreverse);
 SYMBOL (Qright);
 SYMBOL (Qright_margin);
-SYMBOL (Qsearch);
+SYMBOL_MODULE_API (Qsearch);
 SYMBOL (Qselected);
 SYMBOL_KEYWORD (Q_selected);
 SYMBOL (Qselection);
 SYMBOL (Qset_glyph_image);
 SYMBOL (Qsignal);
-SYMBOL (Qsimple);
+SYMBOL_MODULE_API (Qsimple);
 SYMBOL (Qsize);
 SYMBOL (Qsound);
 SYMBOL (Qspace);
--- a/src/lisp.h	Tue Feb 24 22:50:32 2004 +0000
+++ b/src/lisp.h	Wed Feb 25 17:42:37 2004 +0000
@@ -3807,10 +3807,12 @@
 					      Error_Behavior);
 
 
-DECLARE_DOESNT_RETURN (signal_malformed_list_error (Lisp_Object));
-DECLARE_DOESNT_RETURN (signal_malformed_property_list_error (Lisp_Object));
-DECLARE_DOESNT_RETURN (signal_circular_list_error (Lisp_Object));
-DECLARE_DOESNT_RETURN (signal_circular_property_list_error (Lisp_Object));
+MODULE_API DECLARE_DOESNT_RETURN (signal_malformed_list_error (Lisp_Object));
+MODULE_API DECLARE_DOESNT_RETURN (signal_malformed_property_list_error
+				  (Lisp_Object));
+MODULE_API DECLARE_DOESNT_RETURN (signal_circular_list_error (Lisp_Object));
+MODULE_API DECLARE_DOESNT_RETURN (signal_circular_property_list_error
+				  (Lisp_Object));
 
 DECLARE_DOESNT_RETURN (syntax_error (const CIbyte *reason,
 				     Lisp_Object frob));
@@ -5116,7 +5118,7 @@
 extern Lisp_Object Vecho_area_buffer, Vemacs_major_version;
 extern Lisp_Object Vemacs_minor_version, Vexec_directory, Vexec_path;
 extern Lisp_Object Vexecuting_macro, Vfeatures, Vfile_domain;
-extern Lisp_Object Vinhibit_quit, Vinvocation_directory, Vinvocation_name;
+extern Lisp_Object Vinvocation_directory, Vinvocation_name;
 extern Lisp_Object Vlast_command, Vlast_command_char;
 extern Lisp_Object Vlast_command_event, Vlast_input_event;
 extern Lisp_Object Vload_file_name_internal;
@@ -5126,7 +5128,6 @@
 extern Lisp_Object Vmodule_directory, Vmswindows_downcase_file_names;
 extern Lisp_Object Vmswindows_get_true_file_attributes, Vobarray;
 extern Lisp_Object Vprint_length, Vprint_level, Vprocess_environment;
-extern Lisp_Object Vquit_flag;
 extern Lisp_Object Vrecent_keys_ring, Vshell_file_name, Vsite_directory;
 extern Lisp_Object Vsite_module_directory;
 extern Lisp_Object Vstandard_input, Vstandard_output, Vstdio_str;
@@ -5134,6 +5135,8 @@
 extern Lisp_Object Vthis_command_keys, Vunread_command_event;
 extern Lisp_Object Vx_initial_argv_list;
 
+extern MODULE_API Lisp_Object Vinhibit_quit, Vquit_flag;
+
 END_C_DECLS
 
 #endif /* INCLUDED_lisp_h_ */
--- a/src/sysdep.h	Tue Feb 24 22:50:32 2004 +0000
+++ b/src/sysdep.h	Wed Feb 25 17:42:37 2004 +0000
@@ -68,8 +68,8 @@
 
 void stop_interrupts (void);
 void start_interrupts (void);
-void slow_down_interrupts (void);
-void speed_up_interrupts (void);
+MODULE_API void slow_down_interrupts (void);
+MODULE_API void speed_up_interrupts (void);
 void init_poll_for_quit (void);
 
 /* Used so that signals can break out of system calls that aren't
--- a/src/xemacs.def.in.in	Tue Feb 24 22:50:32 2004 +0000
+++ b/src/xemacs.def.in.in	Wed Feb 25 17:42:37 2004 +0000
@@ -108,9 +108,15 @@
 record_unwind_protect
 record_unwind_protect_freeing
 report_process_error
+signal_circular_list_error	/* EXTERNAL_LIST_LOOP* */
+signal_circular_property_list_error	/* EXTERNAL_PROPERTY_LIST_LOOP* */
 signal_error
 signal_ferror
+signal_malformed_list_error	/* EXTERNAL_LIST_LOOP* */
+signal_malformed_property_list_error	/* EXTERNAL_PROPERTY_LIST_LOOP* */
 signal_quit			/* QUIT */
+slow_down_interrupts
+speed_up_interrupts
 #ifndef DEBUG_XEMACS
 staticpro
 staticpro_nodump
@@ -203,6 +209,8 @@
 something_happened		/* QUIT */
 specpdl_depth_counter		/* specpdl_depth */
 Qconsp				/* CHECK_CONS */
+Qcritical			/* QUIT, QUITP */
+Qdelete
 Qfile_name			/* Qdll_filename_encoding */
 Qintegerp			/* CHECK_INT, CONCHECK_INT */
 Qinvalid_argument
@@ -213,6 +221,8 @@
 Qnull_pointer			/* DEFVAR_xxx */
 #endif
 Qprocess_error
+Qsearch
+Qsimple
 Qstringp			/* CHECK_STRING */
 Qsymbolp			/* CHECK_SYMBOL */
 Qsyntax_error
@@ -220,4 +230,6 @@
 Qunbound
 #ifdef USE_UNION_TYPE
 Qzero				/* ZEROP */
+Vinhibit_quit			/* QUIT, QUITP */
+Vquit_flag			/* QUIT, QUITP */
 #endif