openbsd-ports/math/ntl/patches/patch-src_tools_h
2014-03-15 09:13:13 +00:00

17 lines
471 B
Plaintext

$OpenBSD: patch-src_tools_h,v 1.2 2014/03/15 09:13:13 benoit Exp $
--- include/NTL/tools.h 2008-03-04 15:35:02.000000000 -0800
+++ include/NTL/tools.h.modified 2008-04-17 12:24:41.000000000 -0700
@@ -249,6 +249,12 @@
char IntValToChar(long a);
+/*
+ This function is not present in vanilla NTL 5.4.2.
+ See tools.c for documentation.
+ */
+void SetErrorCallbackFunction(void (*func)(const char *s, void *context), void *context);
+
void Error(const char *s);