[m-users.] Too Slow
Matthias Guedemann
matthias.guedemann at googlemail.com
Sat May 2 23:08:09 AEST 2015
> For convenience, it's feasible to build all the necessary libtommath C
> files as part of the Mercury module:
> :- pragma foreign_decl("C", " #define XMALLOC MR_GC_malloc #define
> XREALLOC MR_GC_realloc #define XCALLOC _fake_calloc /* unused */
> #define XFREE GC_free #include ""tommath.h"" ").
> :- pragma foreign_code("C", include_file("bncore.c")). :- pragma
> foreign_code("C", include_file("bn_error.c")). etc.
ok, I'll look into this possibility to create an entry for "extras".
More information about the users
mailing list