Re: [Vala] VAPI tutorial

2013-12-28 Thread rastersoft
Why isn't that document linked in the Vala's page? (at least, I didn't 
found it). It looks very useful.


El 28/12/13 04:59, Andre Masella escribió:

Probably best to link to the legacy VAPI guide:
https://wiki.gnome.org/Projects/Vala/LegacyBindings


On 27 December 2013 15:43, rastersoft ras...@rastersoft.com wrote:


Hi all:

I wrote a little VAPI writing tutorial to help people to start writing
VAPI files for libraries. I put it at

https://wiki.gnome.org/Projects/Vala/WrittingVAPIs

Of course it is incomplete, and is possible that it has mistakes, so I
accept all kind of suggestions and fixes.

--
Nos leemos
  RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list






--
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


[Vala] VAPI tutorial

2013-12-27 Thread rastersoft

Hi all:

I wrote a little VAPI writing tutorial to help people to start writing 
VAPI files for libraries. I put it at


https://wiki.gnome.org/Projects/Vala/WrittingVAPIs

Of course it is incomplete, and is possible that it has mistakes, so I 
accept all kind of suggestions and fixes.


--
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] VAPI tutorial

2013-12-27 Thread Steven Oliver
There's a short section on VAPIs in the tutorial if I remember correctly. Would 
probably be helpful to link to this from there if you haven't already. 

—
Sent from Mailbox for iPhone

On Fri, Dec 27, 2013 at 6:43 PM, rastersoft ras...@rastersoft.com wrote:

 Hi all:
 I wrote a little VAPI writing tutorial to help people to start writing 
 VAPI files for libraries. I put it at
 https://wiki.gnome.org/Projects/Vala/WrittingVAPIs
 Of course it is incomplete, and is possible that it has mistakes, so I 
 accept all kind of suggestions and fixes.
 -- 
 Nos leemos
RASTER(Linux user #228804)
 ras...@rastersoft.com  http://www.rastersoft.com
 ___
 vala-list mailing list
 vala-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/vala-list
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] VAPI tutorial

2013-12-27 Thread Andre Masella
Probably best to link to the legacy VAPI guide:
https://wiki.gnome.org/Projects/Vala/LegacyBindings


On 27 December 2013 15:43, rastersoft ras...@rastersoft.com wrote:

 Hi all:

 I wrote a little VAPI writing tutorial to help people to start writing
 VAPI files for libraries. I put it at

 https://wiki.gnome.org/Projects/Vala/WrittingVAPIs

 Of course it is incomplete, and is possible that it has mistakes, so I
 accept all kind of suggestions and fixes.

 --
 Nos leemos
  RASTER(Linux user #228804)
 ras...@rastersoft.com  http://www.rastersoft.com

 ___
 vala-list mailing list
 vala-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/vala-list




-- 
--Andre Masellaan...@masella.name
http://www.masella.name/
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] VAPI tutorial

2013-12-27 Thread Evan Nemerson
On Sat, 2013-12-28 at 00:43 +0100, rastersoft wrote:
 Hi all:
 
 I wrote a little VAPI writing tutorial to help people to start writing 
 VAPI files for libraries. I put it at
 
 https://wiki.gnome.org/Projects/Vala/WrittingVAPIs
 
 Of course it is incomplete, and is possible that it has mistakes, so I 
 accept all kind of suggestions and fixes.

Seems like a duplicate of
https://wiki.gnome.org/Projects/Vala/LegacyBindings

I hope you'll consider merging what you've written into the other page.
Meanwhile, I've added a note to WrittingVAPIs (which, BTW, is misspelled
—writing only has one 't').

I haven't read what you posted yet, but on a quick skim I noticed that
you are encouraging people to use ref_function=, unref_function=...
instead of just free_function=... for a compact class.  This is almost
never the right thing to do since it will prevent Vala from properly
managing the memory.  In general, you might want to avoid using Xcb as
an example since it's generally not a very good VAPI (though your recent
changes do improve things quite a bit).


-Evan

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list