Skip to content
Commit 7e1c5dc9 authored by Manuel Stoeckl's avatar Manuel Stoeckl
Browse files

Use a code generator to call functions from wire format

This change removes the dependency on libffi and the header-dependency on
libwayland. (`wayland-xml` is still needed, of course.)

A python script is used to generate a series of 'call_*' functions which
parse the wire format and invoke matching `do_*` functions to be defined
by the user. With lto the `call_*` and `do_*` parts can often be combined,
reducing their effective cost to almost zero.

The script also generates more optimized data to check sizes and generate
new objects.
parent 2db592bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment