mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
This is especially useful in cases where modules only use a single entry point and use the data to dispatch to the actual function. Such a design is common for languages such as Go and C++. * src/emacs-module.c (module_function_data): New function. * src/print.c (print_vectorlike): Use it to print module function data if not NULL. (print_object): Adapt size of buffer. * test/data/emacs-module/mod-test.c (emacs_module_init): Pass some non-NULL data to ‘mod-test-sum’. (Fmod_test_sum): Check that correct data is passed through. * test/src/emacs-module-tests.el (mod-test-sum-test) (module-function-object): Adapt unit tests. |
||
|---|---|---|
| .. | ||
| decompress | ||
| emacs-module | ||
| epg | ||
| image | ||
| mailcap | ||
| net | ||
| shr | ||
| themes | ||
| vc/diff-mode | ||
| xdg | ||
| xref | ||
| files-bug18141.el.gz | ||
| minibuffer-test-cttq$tion | ||
| somelib.el | ||
| somelib2.el | ||