• Eli Zaretskii's avatar
    Fix emacs-module.c for wide ints · bdebeb77
    Eli Zaretskii authored
    * src/emacs-module.c (lisp_to_value): Compare the produced value
    with the original Lisp object, not with the one potentially
    converted into a Lisp_Cons.  Fixes assertion violations when
    working with integers larger than fit into a 32-bit value.
    
    * modules/mod-test/test.el (mod-test-sum-test): Add tests for
    large integers, to test --with-wide-int.
    bdebeb77
emacs-module.c 34.4 KB