]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/emacs-module.c: Add a few more restrictions for emacs-module.h
authorPhilipp Stephani <phst@google.com>
Wed, 4 Dec 2019 20:37:47 +0000 (21:37 +0100)
committerPhilipp Stephani <phst@google.com>
Wed, 4 Dec 2019 20:37:47 +0000 (21:37 +0100)
src/emacs-module.c

index e5c88fd814ad96be2d98d433f2a490f72aea29ce..82c587fcbe990294cfd902fb18e2a8dc25668ddd 100644 (file)
@@ -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: