[Vala] C code generator



I'm trying to use vala to create plugins (shared libraries) for
another program.

I would like to write some attributes on my classes and add extra C code in compile
time based on those attributes.

How can i write my custom attributes? and parse and execute them.
And how can i generate custom C code ?

I'm still trying to figure how code vala code generation works so any information
will be useful.

https://live.gnome.org/Vala/Hacking is good start but not enough.


Thanks,
L.S.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]