aboutsummaryrefslogblamecommitdiffstats
path: root/libterminput_unmarshal_position__.c
blob: 093c0b14750cec160ff2749811a6052646ad9b91 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                         
                                                                                                                            



                                                             
/* See LICENSE file for copyright and license details. */
#include "common.h"


int
libterminput_unmarshal_position__(struct libterminput_unmarshaller *how, struct libterminput_position *what) /* TODO test */
{
	what->type = LIBTERMINPUT_CURSOR_POSITION;
	return how->load(how, &what->x, sizeof(size_t) * 2U);
}