YAP 7.1.0
format.h
1
2#define FORMAT_MAX_SIZE 1024
3
4#include <Yap.h>
5
6typedef struct {
7 intptr_t filler;
8 /* character to dump */
9 int phys;
10 /* position in buffer */
11 int log; /* columnn as wide chsh */
12} gap_t;
13
14typedef struct format_status {
15 gap_t gap[16];
16 // number of octets
17 int phys_start;
18 // number of characters
19 int lstart;
20 int gapi;
21 int sno0;
22 int lvl;
23 volatile void *old_handler;
24 volatile int old_pos;
25
27
28#define FORMAT_COPY_ARGS_ERROR -1
29#define FORMAT_COPY_ARGS_OVERFLOW -2
30
31extern int format_synch(int sno, int sno0, format_info *fg);
32extern bool fill_pads(int sno, int sno0, int total, format_info *fg USES_REGS);
Main definitions.
Definition: format.h:6