[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64897] OCTAVE_QUIT macro no longer works in C
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #64897] OCTAVE_QUIT macro no longer works in C MEX file |
Date: |
Thu, 16 Nov 2023 09:00:32 -0500 (EST) |
Update of bug #64897 (project octave):
Planned Release: None => 9.1.0 (current default)
_______________________________________________________
Follow-up Comment #1:
Thank you for the report
IIUC, OCTAVE_QUIT probably doesn't work in any C code currently.
Does the following change work for you (completely untested so far):
diff -r b5e433b52bc3 liboctave/util/quit.cc
--- a/liboctave/util/quit.cc Mon Nov 13 16:58:52 2023 +0100
+++ b/liboctave/util/quit.cc Thu Nov 16 14:46:53 2023 +0100
@@ -96,13 +96,13 @@
}
}
-void octave_quit_c (void)
+OCTAVE_END_NAMESPACE(octave)
+
+OCTAVE_API void octave_quit_c (void)
{
octave_quit ();
}
-OCTAVE_END_NAMESPACE(octave)
-
void
octave_handle_signal ()
{
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64897>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/