[Vala] time_t properties
- From: Christian Hergert <christian hergert gmail com>
- To: Vala Mailing list <vala-list gnome org>
- Subject: [Vala] time_t properties
- Date: Wed, 28 Jan 2009 00:08:36 -0800
How would I go about making a property with time_t. It looks like the
generated code is boxing just fine, it just generates a bad gtype for
time_t. I will create a bug if necessary.
$ valac test.vala
test.c: In function 'test_item_class_init':
test.c:83: error: 'TYPE_TIME_T' undeclared (first use in this function)
test.c:83: error: (Each undeclared identifier is reported only once
test.c:83: error: for each function it appears in.)
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
$ cat test.vala
using GLib;
namespace Test {
public class Item: Object {
public time_t created_at {
get;
set;
}
}
}
-- Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]