mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
fc92c2d894
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 | ||
somelib2.el | ||
somelib.el |