From: tomo Date: Tue, 14 Aug 2001 15:06:24 +0000 (+0000) Subject: XEmacs 21.2.40 "Persephone". X-Git-Tag: r21-2-40~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b3ba5d6426d21d5c825d830adb636e6c19c58ec4;p=chise%2Fxemacs-chise.git XEmacs 21.2.40 "Persephone". --- diff --git a/info/emodules.info b/info/emodules.info index 2fc6147..c527ed0 100644 --- a/info/emodules.info +++ b/info/emodules.info @@ -252,7 +252,14 @@ place-holder, not an actual function name. `DEFVAR_LISP()', `DEFVAR_BOOL()' etc, and its purpose is to declare and initialize all and any variables that your module defines. They syntax for declaring variables is identical to the - syntax used for all internal XEmacs source code. + syntax used for all internal XEmacs source code. If the module is + intended to be usable statically linked into XEmacs, the actions + of this function are severely restricted. *Note General Coding + Rules: (internals)General Coding Rules. Also see the comments in + `src/emacs.c' (`main_1'). Modules which perform initializations + not permitted by these rules will probably work, but dual-use + (dynamic loading and static linking) modules will require very + careful, and possibly fragile, coding. `modules_of_module' This optional function should be used to load in any modules which @@ -553,7 +560,7 @@ Link Mode Once all of your source code files have been compiled (including the generated init file) you need to link them all together to create the loadable module. To do this, you invoke `ellcc' in link mode, by -passing the `--mode-link' option. You need to specify the final output +passing the `--mode=link' option. You need to specify the final output file using the `--mod-output=NAME' option, but other than that all other arguments are passed on directly to the system compiler or linker, along with any other required arguments to create the loadable @@ -935,18 +942,18 @@ Node: Introduction2883 Node: Anatomy of a Module7391 Node: Required Header File8205 Node: Required Functions10124 -Node: Required Variables12371 -Node: Loading other Modules15057 -Node: Using ellcc17114 -Node: Compile Mode18908 -Node: Initialization Mode20276 -Node: Link Mode25310 -Node: Other ellcc options26455 -Node: Environment Variables29034 -Node: Defining Functions30725 -Node: Using DEFUN32736 -Node: Declaring Functions34447 -Node: Defining Variables35790 -Node: Index38033 +Node: Required Variables12848 +Node: Loading other Modules15534 +Node: Using ellcc17591 +Node: Compile Mode19385 +Node: Initialization Mode20753 +Node: Link Mode25787 +Node: Other ellcc options26932 +Node: Environment Variables29511 +Node: Defining Functions31202 +Node: Using DEFUN33213 +Node: Declaring Functions34924 +Node: Defining Variables36267 +Node: Index38510  End Tag Table