[Vala] Set C representation of namespace manually?

2014-02-23 Thread Matthias Klumpp
Hi! For a library project, I would like to have some control over the namespace-C-naming (especially the automatic camel-case-to-underscore conversion). For example if I have a namespace namespace MyProject { class Tree; } This translates to function names in form of MyProjectTree

Re: [Vala] Set C representation of namespace manually?

2014-02-23 Thread Matthias Klumpp
2014-02-24 0:05 GMT+01:00 Luca Bruno lethalma...@gmail.com: Yes you can, put some CCode on top of your namespace: https://wiki.gnome.org/Projects/Vala/Manual/Attributes#CCode_Attribute Make sure you put the same CCode on all the files for the same namespace. Ah, I didn't know that we have