diff options
| author | Eli Zaretskii | 2020-11-28 09:21:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-11-28 09:21:33 +0200 |
| commit | f31cacd1ff4e020c0a10fa3da6598b21a6b04988 (patch) | |
| tree | b3158dcfbff0129217794266ece0e86f5a73e5d6 /test/data/emacs-module/mod-test.c | |
| parent | cdc632fbe6e149318147a98cccf1b7af191f2ce8 (diff) | |
| download | emacs-f31cacd1ff4e020c0a10fa3da6598b21a6b04988.tar.gz emacs-f31cacd1ff4e020c0a10fa3da6598b21a6b04988.zip | |
Revert "Fix incorrect handling of module runtime and environment pointers."
This reverts commit cdc632fbe6e149318147a98cccf1b7af191f2ce8.
Those changes are too significant and non-trivial to be
suitable for a release branch at this time.
Diffstat (limited to '')
| -rw-r--r-- | test/data/emacs-module/mod-test.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/data/emacs-module/mod-test.c b/test/data/emacs-module/mod-test.c index 528b4b4c582..8d1b421bb40 100644 --- a/test/data/emacs-module/mod-test.c +++ b/test/data/emacs-module/mod-test.c | |||
| @@ -547,14 +547,6 @@ Fmod_test_double (emacs_env *env, ptrdiff_t nargs, emacs_value *args, | |||
| 547 | return result; | 547 | return result; |
| 548 | } | 548 | } |
| 549 | 549 | ||
| 550 | static emacs_value | ||
| 551 | Fmod_test_funcall (emacs_env *env, ptrdiff_t nargs, emacs_value *args, | ||
| 552 | void *data) | ||
| 553 | { | ||
| 554 | assert (0 < nargs); | ||
| 555 | return env->funcall (env, args[0], nargs - 1, args + 1); | ||
| 556 | } | ||
| 557 | |||
| 558 | /* Lisp utilities for easier readability (simple wrappers). */ | 550 | /* Lisp utilities for easier readability (simple wrappers). */ |
| 559 | 551 | ||
| 560 | /* Provide FEATURE to Emacs. */ | 552 | /* Provide FEATURE to Emacs. */ |
| @@ -637,8 +629,6 @@ emacs_module_init (struct emacs_runtime *ert) | |||
| 637 | DEFUN ("mod-test-add-nanosecond", Fmod_test_add_nanosecond, 1, 1, NULL, NULL); | 629 | DEFUN ("mod-test-add-nanosecond", Fmod_test_add_nanosecond, 1, 1, NULL, NULL); |
| 638 | DEFUN ("mod-test-nanoseconds", Fmod_test_nanoseconds, 1, 1, NULL, NULL); | 630 | DEFUN ("mod-test-nanoseconds", Fmod_test_nanoseconds, 1, 1, NULL, NULL); |
| 639 | DEFUN ("mod-test-double", Fmod_test_double, 1, 1, NULL, NULL); | 631 | DEFUN ("mod-test-double", Fmod_test_double, 1, 1, NULL, NULL); |
| 640 | DEFUN ("mod-test-funcall", Fmod_test_funcall, 1, emacs_variadic_function, | ||
| 641 | NULL, NULL); | ||
| 642 | 632 | ||
| 643 | #undef DEFUN | 633 | #undef DEFUN |
| 644 | 634 | ||