1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef CTRLC_H
- # define CTRLC_H
- # ifdef __cplusplus
- extern "C" {
- # endif
- # include "glob_opts.h"
- # if defined MATLAB
- bool utIsInterruptPending(void);
- bool utSetInterruptEnabled(bool);
- # elif defined IS_WINDOWS
- # include <windows.h>
- # else
- # include <signal.h>
- # endif
- void osqp_start_interrupt_listener(void);
- void osqp_end_interrupt_listener(void);
- int osqp_is_interrupted(void);
- # ifdef __cplusplus
- }
- # endif
- #endif
|