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

time-shift
Houtan Bastani 2013-12-05 16:15:52 +01:00
commit f640912878
3 changed files with 12 additions and 1 deletions

@ -1 +1 @@
Subproject commit f21da3ff380b5d3e86624a365bcc03e41f5cfdd1
Subproject commit 671802fcb4597b56943897cd91be838230c256d1

View File

@ -1,2 +1,5 @@
include ../mex.am
include ../../ms_sbvar.am
ms_sbvar_create_init_file_LDADD = -lut
ms_sbvar_command_line_LDADD = -lut

View File

@ -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;