[Vala] generating gir files from vala

2010-06-12 Thread celil
Hello, I am trying to create python bindings to a vala library. However, I am having trouble auto-generating the gir using valac. Consider the attached helloworld example. When I run valac helloworld.vala --gir=Hello-1.0.gir I get no output at all. What am I doing it wrong? How can I

Re: [Vala] New params for [ModuleInit]

2010-06-12 Thread Abderrahim Kitouni
Hi, في خ، 10-06-2010 عند 20:12 +0200 ، كتب JM: > Inheriting from TypeModule gives me a warning: > > main.vala:10.5-10.26: warning: unable to chain up to private base > constructor > public PluginRegistrar (string name) { > > Looks like this isn't possible. This i

[Vala] Interfaces and Mixins

2010-06-12 Thread tecywiz121
Hey, The following code won't compile unless I create a flush() in Concrete, but I can't seem to access Entity.flush() at all, any way around this that doesn't involve making Entity a class? public interface Flushable : Object { public abstract void flush(); } public interface Entity : Objec