]> git.eshelyaron.com Git - sweep.git/commitdiff
Make use of the new SWI-Prolog embedded GMP handling...
authorEshel Yaron <me@eshelyaron.com>
Thu, 1 Sep 2022 06:05:01 +0000 (09:05 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 1 Sep 2022 06:05:01 +0000 (09:05 +0300)
...added in https://github.com/SWI-Prolog/swipl-devel/pull/1029

sweep.c

diff --git a/sweep.c b/sweep.c
index 12a559f525acb88a7624d3aec1deb04efd6eeb52..188ada6f553587205e97b04712e9d2e5c02a8638 100644 (file)
--- a/sweep.c
+++ b/sweep.c
@@ -426,7 +426,6 @@ sweep_initialize(emacs_env *env, ptrdiff_t nargs, emacs_value *args, void *data)
       return NULL;
     }
   }
-  PL_action(PL_GMP_SET_ALLOC_FUNCTIONS, FALSE);
   r = PL_initialise(nargs, argv);
   for (i = 0; i < nargs; i++) {
     free(argv[i]);