the cheader_filename attribute of [CCode] should go on the top
namespace.
so [CCode (cheader_filename="io.h", cprefix="Ajami_")] namespace CAjami
{ ... }
On Fri, Oct 9, 2015 at 9:55 AM, Victor Aurélio Santos
wrote:
Ben, can you provide more details ?
Thanks.
2015-10-09 10:49 GMT-03:00 Be
Just put the cheader at the top
On Fri, Oct 9, 2015, 9:48 AM Victor Aurélio Santos <
victoraur.san...@gmail.com> wrote:
> PS: keep in mind that this isn't a GLib-based library, it's plain C
> functions! i.e. Legacy Binds
>
> --
> Victor Aurélio Santos
>
___
Ben, can you provide more details ?
Thanks.
2015-10-09 10:49 GMT-03:00 Ben Iofel :
> Just put the cheader at the top
>
>
> On Fri, Oct 9, 2015, 9:48 AM Victor Aurélio Santos
> wrote:
>>
>> PS: keep in mind that this isn't a GLib-based library, it's plain C
>> functions! i.e. Legacy Binds
>>
>> -
PS: keep in mind that this isn't a GLib-based library, it's plain C
functions! i.e. Legacy Binds
--
Victor Aurélio Santos
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
There's no ajami.h, and just [CCode (cprefix = "Ajami_")] changes
nothing keep getting double definition.
2015-10-08 22:26 GMT-03:00 Ben :
> I think you need [CCode (cprefix = "Ajami_", cheader_filename = "ajami.h")]
> on your top namespace
>
> On Thu, Oct 8, 2015 at 7:29 PM, Victor Aurélio Santos