comparison src/emodules.h @ 996:25e260cb7994

[xemacs-hg @ 2002-09-10 15:27:02 by james] Enable unloading of dynamic modules. Create the first two internal XEmacs modules: LDAP and postgreSQL. Update the sample directory to contain a sample internal XEmacs module and a sample external XEmacs module. Improve support for autoloading modules. Make internal module code compile into the XEmacs binary if XEmacs is configured without module support. Make the internal module directories self-contained so that they can be distributed separately from XEmacs.
author james
date Tue, 10 Sep 2002 15:27:39 +0000
parents 943eaba38521
children 184461bc8de4
comparison
equal deleted inserted replaced
995:4575a219af58 996:25e260cb7994
22 22
23 #ifndef EMODULES_GATHER_VERSION 23 #ifndef EMODULES_GATHER_VERSION
24 #define EMODULES_HDR 24 #define EMODULES_HDR
25 #endif 25 #endif
26 26
27 #define EMODULES_VERSION "1.0.0" 27 #define EMODULES_VERSION "1.1.0"
28 #define EMODULES_MAJOR 1 28 #define EMODULES_MAJOR 1
29 #define EMODULES_MINOR 0 29 #define EMODULES_MINOR 1
30 #define EMODULES_PATCH 0 30 #define EMODULES_PATCH 0
31 #define EMODULES_REVISION (long)((EMODULES_MAJOR * 1000) + \ 31 #define EMODULES_REVISION (long)((EMODULES_MAJOR * 1000) + \
32 (EMODULES_MINOR * 10) + \ 32 (EMODULES_MINOR * 10) + \
33 (EMODULES_PATCH)) 33 (EMODULES_PATCH))
34 34
78 78
79 #define CDOCSUBR(Fname, DOC) emodules_doc_subr (Fname, DOC) 79 #define CDOCSUBR(Fname, DOC) emodules_doc_subr (Fname, DOC)
80 #define CDOCSYM(Sname, DOC) emodules_doc_sym (Sname, DOC) 80 #define CDOCSYM(Sname, DOC) emodules_doc_sym (Sname, DOC)
81 #endif /* EMODULES_GATHER_VERSION */ 81 #endif /* EMODULES_GATHER_VERSION */
82 82
83 /* We should not expose module entities to the portable dumper. */
84 #if defined(PDUMP) && !defined(EMODULES_DO_NOT_REDEFINE)
85 #define dump_add_root_struct_ptr(varaddr,descaddr) DO_NOTHING
86 #define dump_add_opaque(varaddr,size) DO_NOTHING
87 #define dump_add_root_block(ptraddress,desc) DO_NOTHING
88 #define dump_add_opaque_int(int_varaddr) DO_NOTHING
89 #define dump_add_opaque_fixnum(fixnum_varaddr) DO_NOTHING
90 #define dump_add_root_object(varaddr) DO_NOTHING
91 #define dump_add_weak_object_chain(varaddr) DO_NOTHING
92 #define staticpro(DSF_location) staticpro_nodump(DSF_location)
93
94 #undef DEFSYMBOL
95 #undef DEFSYMBOL_MULTIWORD_PREDICATE
96 #define DEFSYMBOL(name) DEFSYMBOL_NO_DUMP (name)
97 #define DEFSYMBOL_MULTIWORD_PREDICATE(name) \
98 DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP (name)
99 #define defsymbol(location,name) defsymbol_nodump (location, name)
100 #endif
101
83 #endif /* EMODULES_HDR */ 102 #endif /* EMODULES_HDR */