]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/emacs-module.h.in: Use @emacs_major_version@ for current env.
authorPhilipp Stephani <phst@google.com>
Mon, 23 Dec 2019 20:58:26 +0000 (21:58 +0100)
committerPhilipp Stephani <phst@google.com>
Tue, 24 Dec 2019 00:08:15 +0000 (01:08 +0100)
src/emacs-module.h.in

index 4175240cd0963f5e41ccd33d8c38da9917418c2d..f12eedbfbead2c5b06598c63662daed82486607e 100644 (file)
@@ -50,7 +50,7 @@ extern "C" {
 #endif
 
 /* Current environment.  */
-typedef struct emacs_env_27 emacs_env;
+typedef struct emacs_env_@emacs_major_version@ emacs_env;
 
 /* Opaque pointer representing an Emacs Lisp value.
    BEWARE: Do not assume NULL is a valid value!  */