Re: [Vala] vapigen cheader_filename using package name



@Abderrahim, thanks for the resource. Also, maybe the cheader_filename
should be documented in the "official" bindings tutorial [1], if it's so
important that every binding uses it.

[1] http://live.gnome.org/Vala/Bindings

On Wed, Feb 10, 2010 at 4:02 PM, Abderrahim Kitouni <a kitouni gmail com>wrote:

Hi,

Gabe Gorelick-Feldman wrote:

It seems that vapigen just uses the name of the package as the
cheader_filename. Is that the correct behavior or am I doing something
wrong, and if that is the expected behavior, is there a way to change it
with the metadata file?

like all other bindings are doing ;-)
NameSpace cheader_filename="header.h"

When looking for what metadata can be added, looking (or grepping if you
have an idea about what you want) at existing bindings [1] can be a good
idea.

HTH,
Abderrahim

[1] http://git.gnome.org/browse/vala/tree/vapi/packages



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