Re: [Vala] typeinfo of non-existent enum in vapi file

2013-10-05 Thread Thomas Olson
Evan, Much better than a compile time error. Thanks you! Tom On 10/05/2013 12:34 PM, Evan Nemerson wrote: On Sat, 2013-10-05 at 06:19 -0500, Thomas Olson wrote: Hello, The sqlite3.vapi file defines the Sqlite.Action enum, which does not really exist in the Sqlite souce code, so executing th

Re: [Vala] typeinfo of non-existent enum in vapi file

2013-10-05 Thread Evan Nemerson
On Sat, 2013-10-05 at 06:19 -0500, Thomas Olson wrote: > Hello, > > The sqlite3.vapi file defines the Sqlite.Action enum, which does not > really exist in the Sqlite souce code, so executing the following fails: > > Type t = typeof(Sqlite.Action); > EnumClass k = (EnumClass)t.class_ref(); // does

[Vala] typeinfo of non-existent enum in vapi file

2013-10-05 Thread Thomas Olson
Hello, The sqlite3.vapi file defines the Sqlite.Action enum, which does not really exist in the Sqlite souce code, so executing the following fails: Type t = typeof(Sqlite.Action); EnumClass k = (EnumClass)t.class_ref(); // doesn't get this far The compiler error message is: error: ‘SQLITE3_TY