~mirabilos/jupp/trunk

1 by tg
Initial revision
1
/*
2
 *	Math
3
 *	Copyright
4
 *		(C) 1992 Joseph H. Allen
5
 *
6
 *	This file is part of JOE (Joe's Own Editor)
7
 */
8
#ifndef _JOE_UMATH_H
9
#define _JOE_UMATH_H 1
10
473 by tg
overhaul the way includes work; give jupp proper RCS IDs
11
#ifdef EXTERN_CMD_C
517 by tg
begin overhaul for antique/header compat:
12
__IDSTRING(rcsid_umath_h, "$MirOS: contrib/code/jupp/umath.h,v 1.11 2017/12/06 21:17:03 tg Exp $");
473 by tg
overhaul the way includes work; give jupp proper RCS IDs
13
#endif
1 by tg
Initial revision
14
421 by tg
_some_ type cleanup (time_t, sig_atomic_t)
15
#include <signal.h>
16
485 by tg
idfk why mgcc(1) wants to verarsch me here…
17
extern volatile sig_atomic_t merrf;
421 by tg
_some_ type cleanup (time_t, sig_atomic_t)
18
extern const unsigned char *merrt;
19
485 by tg
idfk why mgcc(1) wants to verarsch me here…
20
long calcl(BW *bw, unsigned char *s);
21
478 by tg
first cut at fixing the klibc builds
22
#if WANT_MATH
1 by tg
Initial revision
23
int umath(BW *bw);
255 by tg
new bindings for math result insertion
24
int umathins(BW *bw);
25
int umathres(BW *bw);
478 by tg
first cut at fixing the klibc builds
26
#else
27
int unomath(BW *bw);
28
29
#define umath		unomath
30
#define umathins	unomath
31
#define umathres	unomath
485 by tg
idfk why mgcc(1) wants to verarsch me here…
32
#endif
478 by tg
first cut at fixing the klibc builds
33
1 by tg
Initial revision
34
#endif