Commit f6409128 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

Merge commit to support ctrl-c for ms-sbvar, closes #304

parents b8e3ce0c a8d07308
switch_dw @ 671802fc
Subproject commit f21da3ff380b5d3e86624a365bcc03e41f5cfdd1
Subproject commit 671802fcb4597b56943897cd91be838230c256d1
include ../mex.am
include ../../ms_sbvar.am
ms_sbvar_create_init_file_LDADD = -lut
ms_sbvar_command_line_LDADD = -lut
......@@ -32,6 +32,14 @@
#define dw_free mxFree
#define dw_exit msExit
/* Handle Ctrl-C in Matlab/Octave */
#ifdef MATLAB_MEX_FILE
extern bool utIsInterruptPending();
#else
#include <octave/config.h>
#include <octave/quit.h>
#endif
void msExit(int status);
extern int constant_seed;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment