summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/interact.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/interact.h')
-rw-r--r--Build/source/utils/asymptote/interact.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/interact.h b/Build/source/utils/asymptote/interact.h
index 317496b52d4..e1827e3701b 100644
--- a/Build/source/utils/asymptote/interact.h
+++ b/Build/source/utils/asymptote/interact.h
@@ -9,6 +9,8 @@
#include "common.h"
+void interruptHandler(int);
+
namespace interact {
extern bool interactive;
@@ -37,7 +39,7 @@ void cleanup_interactive();
// This class is used to set a text completion function for readline. A class
// is used instead the usual function pointer so that information such as the
// current environment can be coded into the function (mimicking a closure).
-class completer : public gc {
+class completer {
public:
virtual ~completer() {};
virtual char *operator () (const char *text, int state) = 0;