Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/libs/pari/pari_err.h
8817 views
1
#include <pari/pari.h>
2
#include "interrupt.h"
3
4
5
/*****************************************
6
Interrupts and PARI exception handling
7
*****************************************/
8
9
#define pari_catch_sig_on() _sig_on_(NULL)
10
#define pari_catch_sig_str(s) _sig_on_(s)
11
#define pari_catch_sig_off() (_sig_off_(__FILE__, __LINE__), _pari_check_warning())
12
13