aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput_marshal_mouseevent__.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-20 20:24:28 +0100
committerMattias Andrée <m@maandree.se>2025-02-20 20:24:28 +0100
commit4c745dab4c6925fa17714c2214ed5941e5cbf64d (patch)
tree30129b2838d7a27a7a37fd37f5f95d6b355b7203 /libterminput_marshal_mouseevent__.c
parentAdd state marshalling and unmarshalling functions (diff)
downloadlibterminput-4c745dab4c6925fa17714c2214ed5941e5cbf64d.tar.gz
libterminput-4c745dab4c6925fa17714c2214ed5941e5cbf64d.tar.bz2
libterminput-4c745dab4c6925fa17714c2214ed5941e5cbf64d.tar.xz
Validate unmarshalled state + add man pages for (un)marshal functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libterminput_marshal_mouseevent__.c')
-rw-r--r--libterminput_marshal_mouseevent__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libterminput_marshal_mouseevent__.c b/libterminput_marshal_mouseevent__.c
index 8fe64c7..7da80fe 100644
--- a/libterminput_marshal_mouseevent__.c
+++ b/libterminput_marshal_mouseevent__.c
@@ -3,7 +3,7 @@
int
-libterminput_marshal_mouseevent__(struct libterminput_marshaller *how, const struct libterminput_mouseevent *what)
+libterminput_marshal_mouseevent__(struct libterminput_marshaller *how, const struct libterminput_mouseevent *what) /* TODO test */
{
if (how->store(how, &what->event, sizeof(what->event)) ||
how->store(how, &what->x, sizeof(size_t) * 2U))