1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Update emacs-module sources for Emacs 29

* configure.ac (module_env_snippet_29): New.

* src/module-env-28.h: Remove the comment with instructions for
the next release.
* src/module-env-29.h: New file.
This commit is contained in:
Eli Zaretskii 2021-09-30 20:26:00 +03:00
parent 3478e64c88
commit 44c13eefe8
5 changed files with 4588 additions and 4 deletions

View File

@ -3738,10 +3738,12 @@ AC_SUBST_FILE([module_env_snippet_25])
AC_SUBST_FILE([module_env_snippet_26])
AC_SUBST_FILE([module_env_snippet_27])
AC_SUBST_FILE([module_env_snippet_28])
AC_SUBST_FILE([module_env_snippet_29])
module_env_snippet_25="$srcdir/src/module-env-25.h"
module_env_snippet_26="$srcdir/src/module-env-26.h"
module_env_snippet_27="$srcdir/src/module-env-27.h"
module_env_snippet_28="$srcdir/src/module-env-28.h"
module_env_snippet_29="$srcdir/src/module-env-29.h"
emacs_major_version="${PACKAGE_VERSION%%.*}"
AC_SUBST(emacs_major_version)

4570
etc/NEWS.28 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -169,6 +169,19 @@ struct emacs_env_28
@module_env_snippet_28@
};
struct emacs_env_29
{
@module_env_snippet_25@
@module_env_snippet_26@
@module_env_snippet_27@
@module_env_snippet_28@
@module_env_snippet_29@
};
/* Every module should define a function as follows. */
extern int emacs_module_init (struct emacs_runtime *runtime)
EMACS_NOEXCEPT

View File

@ -1,7 +1,3 @@
/* Add module environment functions newly added in Emacs 28 here.
Before Emacs 28 is released, remove this comment and start
module-env-29.h on the master branch. */
void (*(*EMACS_ATTRIBUTE_NONNULL (1)
get_function_finalizer) (emacs_env *env,
emacs_value arg)) (void *) EMACS_NOEXCEPT;

3
src/module-env-29.h Normal file
View File

@ -0,0 +1,3 @@
/* Add module environment functions newly added in Emacs 29 here.
Before Emacs 29 is released, remove this comment and start
module-env-30.h on the master branch. */