aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-10-14 05:57:05 +0200
committerLars Ingebrigtsen2020-10-14 05:57:05 +0200
commita8d810780092cecfbc30fdaeb433aee44ab9f67d (patch)
treef0d2e56368a2106ac2136b9bcaaad54ab79c5124
parentdb0c016dc5c2441048076a3c7d9d1914e4a41bd6 (diff)
downloademacs-a8d810780092cecfbc30fdaeb433aee44ab9f67d.tar.gz
emacs-a8d810780092cecfbc30fdaeb433aee44ab9f67d.zip
Move the new module unibyte function to the correct module-env.h file
* src/module-env-28.h: Moved here from the -25.h file.
-rw-r--r--src/module-env-25.h5
-rw-r--r--src/module-env-28.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/module-env-25.h b/src/module-env-25.h
index 01c06d5400d..97c7787da34 100644
--- a/src/module-env-25.h
+++ b/src/module-env-25.h
@@ -102,11 +102,6 @@
102 const char *str, ptrdiff_t len) 102 const char *str, ptrdiff_t len)
103 EMACS_ATTRIBUTE_NONNULL(1, 2); 103 EMACS_ATTRIBUTE_NONNULL(1, 2);
104 104
105 /* Create a unibyte Lisp string from a string. */
106 emacs_value (*make_unibyte_string) (emacs_env *env,
107 const char *str, ptrdiff_t len)
108 EMACS_ATTRIBUTE_NONNULL(1, 2);
109
110 /* Embedded pointer type. */ 105 /* Embedded pointer type. */
111 emacs_value (*make_user_ptr) (emacs_env *env, 106 emacs_value (*make_user_ptr) (emacs_env *env,
112 void (*fin) (void *) EMACS_NOEXCEPT, 107 void (*fin) (void *) EMACS_NOEXCEPT,
diff --git a/src/module-env-28.h b/src/module-env-28.h
index 40b03b92b52..f8820b0606b 100644
--- a/src/module-env-28.h
+++ b/src/module-env-28.h
@@ -16,3 +16,8 @@
16 void (*make_interactive) (emacs_env *env, emacs_value function, 16 void (*make_interactive) (emacs_env *env, emacs_value function,
17 emacs_value spec) 17 emacs_value spec)
18 EMACS_ATTRIBUTE_NONNULL (1); 18 EMACS_ATTRIBUTE_NONNULL (1);
19
20 /* Create a unibyte Lisp string from a string. */
21 emacs_value (*make_unibyte_string) (emacs_env *env,
22 const char *str, ptrdiff_t len)
23 EMACS_ATTRIBUTE_NONNULL(1, 2);