Language bindings for wayland

Joakim Sindholt bacn at zhasha.com
Sun Nov 21 05:02:37 PST 2010


On Sat, 2010-11-20 at 23:12 +0100, Carl-Philip Haensch wrote:
> Hi,
> 
> i'm planning to write languate bindings for freepascal (fpc) but there  
> are some things that make it hard for me to port (=blocks automatic  
> header generation)
>   - inline functions and their implementation in the header file
>   - "struct foo *" as declaration in return types
>   - #define inline function magic
Wayland only communicates to clients over a UNIX socket. You could in
fact just implement the protocol in freepascal instead of trying to use
the toytoolkit or the like. This interface should be completely language
neutral.

> An other idea would be to make the files needed for language bindings  
> (wayland-util.h, wayland-client.j, wayland-protocol.h, window.h)  
> auto-generated so that everyone who needs a language binding can add  
> his code generator to scanner.c
> 
> There is a lot of work to do to make wayland bindings usable.



More information about the wayland-devel mailing list