-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpstrings.ch
101 lines (86 loc) · 1.51 KB
/
mpstrings.ch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@x [0] l.10
\def\psqrt#1{\sqrt{\mathstrut#1}}
@y
\def\psqrt#1{\sqrt{\mathstrut#1}}
\def\title{MPSTRINGS}
@s boolean int
@s integer int
@s tm int
@s mp_lstring char
@s mp_string char
@s MP int
@z
@x [2] l.25
# include <unistd.h> /* for access */
@y
# include <unistd.h> /* for |access| */
@z
@x [2] l.27
#include <time.h> /* for struct tm \& co */
@y
#include <time.h> /* for |struct tm| $\AND$ co */
@z
@x [3] l.35
#include "mplib.h"
@y
@z
@x [3] l.38
#include "mpmp.h" /* internal header */
@y
@z
@x [5] l.71
mp_string ff;
const mp_lstring *fp;
fp = (const mp_lstring *) p;
ff = malloc (sizeof (mp_lstring));
@y
const mp_lstring *fp = (const mp_lstring *) p;
mp_string ff = malloc (sizeof (mp_lstring));
@z
@x [6] l.94
do so it needs a way to create a new, empty string structure.
@ @c
@y
do so it needs a way to create a new, empty string structure.
@c
@z
@x [7] l.98
mp_string ff;
ff = mp_xmalloc (mp, 1, sizeof (mp_lstring));
@y
mp_string ff = mp_xmalloc (mp, 1, sizeof (mp_lstring));
@z
@x [18] l.242
} while (0)
@y
} while (0)@;
@z
@x [18] l.254
} while (0)
@y
} while (0)@;
@z
@x [19] l.257
@ At the very start of the metapost run and each time after
@y
@ At the very start of the \MP\ run and each time after
@z
@x [22] l.300
} while (0)
@y
} while (0)@;
@z
@x [25] l.320
mp_string r;
r = mp_rts (mp, s);
@y
mp_string r = mp_rts (mp, s);
@z
@x [34] l.445
return mp_make_string (mp);
}
@y
return mp_make_string (mp);
}
@* Index.
@z