[Vala] Immutable variables
- From: pancake <pancake youterm com>
- To: vala-list gnome org
- Subject: [Vala] Immutable variables
- Date: Fri, 15 Jan 2010 08:42:27 +0100
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.
--pancake
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]