diff options
author | Philipp Stephani <phst@google.com> | 2019-12-04 21:37:47 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2019-12-04 21:37:47 +0100 |
commit | d673f871f943a395720f7ceca8b3dcb7b44d50f3 (patch) | |
tree | c6be128217406baaaa053795e1cd4dd43abe767d /src/emacs-module.c | |
parent | 096be9c4541329af259273fe604dc4f8669fbd8a (diff) | |
download | emacs-d673f871f943a395720f7ceca8b3dcb7b44d50f3.tar.gz |
* src/emacs-module.c: Add a few more restrictions for emacs-module.h
Diffstat (limited to 'src/emacs-module.c')
-rw-r--r-- | src/emacs-module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index e5c88fd814a..82c587fcbe9 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -46,6 +46,11 @@ rules: - emacs-module.h should only depend on standard C headers. In particular, don't include config.h or lisp.h from emacs-module.h. +- The contents of emacs-module.h should be the same on all platforms + and architectures. + +- emacs-module.h may not depend on Emacs configuration options. + - Prefix all names in emacs-module.h with "emacs_" or "EMACS_". To add a new module function, proceed as follows: |