X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftab.h;h=fe9eb8e07f42a7399e8240a028279bd912a21216;hb=d807ad29cc0d3caa4f0e04ee4b75c70a225cfeaf;hp=7062c79c3fbcd1da3745ec5e5f02cbc3e60b3b0f;hpb=d2ec80c72483254a876b0bb86882224248110c0c;p=pspp-builds.git diff --git a/src/tab.h b/src/tab.h index 7062c79c..fe9eb8e0 100644 --- a/src/tab.h +++ b/src/tab.h @@ -64,7 +64,7 @@ struct tab_joined_cell int x1, y1; int x2, y2; int hit; - struct len_string contents; + struct fixed_string contents; }; struct outp_driver; @@ -79,12 +79,12 @@ struct tab_table /* Contents. */ int col_style; /* Columns: One of TAB_COL_*. */ int col_group; /* Number of rows per column group. */ - struct len_string title; /* Table title. */ + struct fixed_string title; /* Table title. */ unsigned flags; /* SOMF_*. */ int nc, nr; /* Number of columns, rows. */ int cf; /* Column factor for indexing purposes. */ int l, r, t, b; /* Number of header rows on each side. */ - struct len_string *cc; /* Cell contents; len_string *[nr][nc]. */ + struct fixed_string *cc; /* Cell contents; fixed_string *[nr][nc]. */ unsigned char *ct; /* Cell types; unsigned char[nr][nc]. */ unsigned char *rh; /* Horiz rules; unsigned char[nr+1][nc]. */ unsigned char *trh; /* Types of horiz rules; [nr+1]. */ @@ -177,7 +177,7 @@ void tab_joint_text (struct tab_table *, int x1, int y1, int x2, int y2, /* Cell low-level access. */ #define tab_alloc(TABLE, AMT) pool_alloc ((TABLE)->container, (AMT)) void tab_raw (struct tab_table *, int c, int r, unsigned opt, - struct len_string *); + struct fixed_string *); /* Editing. */ void tab_offset (struct tab_table *, int col, int row);