Hi, I'm having a problem with 16-bit properties. I think it's a bug
but since I'm new to Vala I'm not 100% sure. So I ask here. (Code
compiles fine if I use uint32)

class Foo : Object {
    public uint16 bar { get; set; }
    public static void main() { }
}

Compiling this gives:

glib-2.0.vapi:391.1-391.20: error: The value type `uint16` doesn't
declare a GValue set function
public struct uint16 {
^^^^^^^^^^^^^^^^^^^^
glib-2.0.vapi:391.1-391.20: error: The value type `uint16` doesn't
declare a GValue get function
public struct uint16 {
^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to