[Vala] Immutable variables

Is there a way to define them? I need it to solve some warnings for the vapis describing some C functions accepting const char* as argument.

As I see in the compiler source is that it is not supported. Only for struct or class definitions with [Immutable].

Are there plans to support it for variables?if it is just to handle function signatures correctly..

The problem is not only the warnings. Because I'm using libvala to get C signature info from vapi files. And not having a way to describe this is problematic.


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