Commit e290a7d1 authored by Philipp Stephani's avatar Philipp Stephani
Browse files

Add module functions to convert from and to big integers.

* src/module-env-27.h: Add new module functions to convert big

* src/ (emacs_mpz): Define if GMP is available.

* src/emacs-module.c (module_extract_big_integer)
(module_make_big_integer): New functions.
(initialize_environment): Use them.

* test/data/emacs-module/mod-test.c (Fmod_test_double): New test
(emacs_module_init): Define it.

* test/src/emacs-module-tests.el (mod-test-double): New unit test.

* doc/lispref/internals.texi (Module Values): Document new functions.
parent bffceab6
Pipeline #1434 passed with stage
in 53 minutes