Annotation of OpenXM_contrib/pari/src/gp/gp.h, Revision 1.1.1.1
1.1 maekawa 1: /*************************************************************************/
2: /* */
3: /* Declarations specifiques GP */
4: /* */
5: /*************************************************************************/
6: /* $Id: gp.h,v 1.1.1.1 1999/09/16 13:47:41 karim Exp $ */
7:
8: void recover(int flag);
9: void pari_addfunctions(module **modlist_p, entree *func, char **help);
10: int term_height();
11: int term_width();
12:
13: extern ulong init_opts;
14: extern char *current_logfile;
15: extern jmp_buf environnement;
16:
17: /* for do_time() */
18: enum { ti_NOPRINT, ti_REGULAR, ti_LAST, ti_INTERRUPT };
19:
20: /* GP printing format */
21: typedef struct gp_format {
22: char format; /* f, g or h */
23: long field; /* (0 = ignore) */
24: long nb; /* significant digits for reals (-1 = all) */
25: } gp_format;
26:
27: /* default functions (i.e setd*) */
28: enum { d_ACKNOWLEDGE, d_INITRC, d_SILENT, d_RETURN, d_EXISTS };
29:
30: /* output format */
31: enum { f_RAW, f_PRETTYMAT, f_PRETTY, f_TEX };
32:
33: #define NBFORMATS 4
34:
35: /* aide() */
36: #define h_REGULAR 0
37: #define h_LONG 1
38: #define h_APROPOS 2
39: #define h_RL 4
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>