Re: [Vala] VAPI: turning a function into a property?

2012-12-08 Thread Aaron
Please let us know when you finish the bindings! Quoting foracc : On Sat, Dec 8, 2012 at 3:42 PM, foracc wrote: [CCode (cheader_filename="allegro5/allegro5.h")] namespace Allegro5 { [Compact] [CCode(cname="ALLEGRO_EVENT_**QUEUE", free_function="al_destroy_**event_que

Re: [Vala] VAPI: turning a function into a property?

2012-12-08 Thread foracc
On Sat, Dec 8, 2012 at 3:42 PM, foracc wrote: [CCode (cheader_filename="allegro5/allegro5.h")] namespace Allegro5 { [Compact] [CCode(cname="ALLEGRO_EVENT_**QUEUE", free_function="al_destroy_**event_queue")] class EventQueue { [CCode (cname="al_is_event

Re: [Vala] VAPI: turning a function into a property?

2012-12-08 Thread Luca Bruno
On Sat, Dec 8, 2012 at 3:42 PM, foracc wrote: > [CCode (cheader_filename="allegro5/allegro5.h")] > namespace Allegro5 > { > [Compact] > [CCode(cname="ALLEGRO_EVENT_**QUEUE", >free_function="al_destroy_**event_queue")] > class EventQueue { > [CCode (cname="al_is

[Vala] VAPI: turning a function into a property?

2012-12-08 Thread foracc
Hello list, I started to write a VAPI file for some lib, and tried to turn a rather long function name into a property: [CCode (cheader_filename="allegro5/allegro5.h")] namespace Allegro5 { [Compact] [CCode(cname="ALLEGRO_EVENT_QUEUE", free_function="al_destroy_event_q