Re: [Vala] Compilation errors when inheriting from Object



Luca Bruno <lethalman88 gmail com> wrote:

On Mon, Jul 19, 2010 at 11:54:22PM +0200, Jan-Jaap van der Geer wrote:
namespace TestNS
{
  [CCode (cname = "testtype", cheader_filename = "test.h")]
  public struct TestType : uint { }
}

Try adding has_type_id = false to the CCode

Thanks! That seems to have done the trick!

Your other suggestion to use [SimpleType] and [IntegerType] don't
seem to make a difference.

Cheers,
Jan-Jaap



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]