projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655fa71
)
u8-line: Add definition of an initializer.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 6 Dec 2021 05:20:53 +0000
(21:20 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 6 Dec 2021 17:05:31 +0000
(09:05 -0800)
src/libpspp/u8-line.h
patch
|
blob
|
history
diff --git
a/src/libpspp/u8-line.h
b/src/libpspp/u8-line.h
index 2674e2e275b92ed1a5ae902c64d39e948353b624..1da5f8869ac3c3d65def2b0e4451168f3187c7b8 100644
(file)
--- a/
src/libpspp/u8-line.h
+++ b/
src/libpspp/u8-line.h
@@
-32,6
+32,8
@@
struct u8_line
size_t width; /* Display width, in character positions. */
};
+#define U8_LINE_INITIALIZER { .s = DS_EMPTY_INITIALIZER };
+
void u8_line_init (struct u8_line *);
void u8_line_destroy (struct u8_line *);
void u8_line_clear (struct u8_line *);