X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=info%2Femodules.info;h=15eb210d27cf1930ec2f8c87cbe78055f6f04053;hb=fcf99313326843c58556a23534d7a93763456a96;hp=2fc614737884306133297e81e9aa5ee662b5897c;hpb=d8bd7eee3147c839d3c74d1823c139cd54867a75;p=chise%2Fxemacs-chise.git diff --git a/info/emodules.info b/info/emodules.info index 2fc6147..15eb210 100644 --- a/info/emodules.info +++ b/info/emodules.info @@ -1,4 +1,4 @@ -This is ../info/emodules.info, produced by makeinfo version 4.0 from +This is ../info/emodules.info, produced by makeinfo version 4.0b from emodules.texi. This file documents the module loading technology of XEmacs. @@ -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 @@ -930,23 +937,23 @@ Index  Tag Table: -Node: Top1536 -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: Top1537 +Node: Introduction2884 +Node: Anatomy of a Module7392 +Node: Required Header File8206 +Node: Required Functions10125 +Node: Required Variables12849 +Node: Loading other Modules15535 +Node: Using ellcc17592 +Node: Compile Mode19386 +Node: Initialization Mode20754 +Node: Link Mode25788 +Node: Other ellcc options26933 +Node: Environment Variables29512 +Node: Defining Functions31203 +Node: Using DEFUN33214 +Node: Declaring Functions34925 +Node: Defining Variables36268 +Node: Index38511  End Tag Table