From 66ac977debda8c10fa008c19d7ae584b5978c49a Mon Sep 17 00:00:00 2001
From: Eshel Yaron <me@eshelyaron.com>
Date: Thu, 1 Sep 2022 09:05:01 +0300
Subject: [PATCH] Make use of the new SWI-Prolog embedded GMP handling...

...added in https://github.com/SWI-Prolog/swipl-devel/pull/1029
---
 sweep.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sweep.c b/sweep.c
index 12a559f..188ada6 100644
--- 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]);
-- 
2.39.5