comparison src/emodules.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
62 * NULL, we check to make sure we haven't loaded it before. If the version 62 * NULL, we check to make sure we haven't loaded it before. If the version
63 * is specified, we check to make sure we didnt load the module of the 63 * is specified, we check to make sure we didnt load the module of the
64 * specified version before. We also use these as checks when we open the 64 * specified version before. We also use these as checks when we open the
65 * module to make sure we have the right module. 65 * module to make sure we have the right module.
66 */ 66 */
67 extern void emodules_load (const char *module, const char *name, const char *version); 67 extern void emodules_load (CONST char *module, CONST char *name, CONST char *version);
68 68
69 /* 69 /*
70 * Because subrs and symbols added by a dynamic module are not part of 70 * Because subrs and symbols added by a dynamic module are not part of
71 * the make-docfile process, we need a clean way to get the variables 71 * the make-docfile process, we need a clean way to get the variables
72 * and functions documented. Since people dont like the idea of making 72 * and functions documented. Since people dont like the idea of making
73 * shared modules use different versions of DEFSUBR() and DEFVAR_LISP() 73 * shared modules use different versions of DEFSUBR() and DEFVAR_LISP()
74 * and friends, we need these two functions to insert the documentation 74 * and friends, we need these two functions to insert the documentation
75 * into the right place. These functions will be called by the module 75 * into the right place. These functions will be called by the module
76 * init code, generated by ellcc during initialization mode. 76 * init code, generated by ellcc during initialization mode.
77 */ 77 */
78 extern void emodules_doc_subr (const char *objname, const char *docstr); 78 extern void emodules_doc_subr (CONST char *objname, CONST char *docstr);
79 extern void emodules_doc_sym (const char *objname, const char *docstr); 79 extern void emodules_doc_sym (CONST char *objname, CONST char *docstr);
80 80
81 #define CDOCSUBR(Fname, DOC) emodules_doc_subr (Fname, DOC) 81 #define CDOCSUBR(Fname, DOC) emodules_doc_subr (Fname, DOC)
82 #define CDOCSYM(Sname, DOC) emodules_doc_sym (Sname, DOC) 82 #define CDOCSYM(Sname, DOC) emodules_doc_sym (Sname, DOC)
83 #endif /* EMODULES_GATHER_VERSION */ 83 #endif /* EMODULES_GATHER_VERSION */
84 84
85 #endif /* EMODULES_HDR */ 85 #endif /* EMODULES_HDR */
86