[Vala] 16-bit properties, bug?
- From: Rafael Monica <monraaf gmail com>
- To: vala-list gnome org
- Subject: [Vala] 16-bit properties, bug?
- Date: Wed, 28 Apr 2010 22:35:17 +0200
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]