[Vala] Writing DLLs, was Re: Starting with Vala




From: "raum no-log org" <raum no-log org>
Cc: vala-list <vala-list gnome org>
Sent: Tuesday, 4 April 2017, 8:41
Subject: Re: [Vala] Starting with Vala

You could take a look to "check_fs" which is better and my lastest 

"graph_map".

I really like what you have done here:

[CCode (cname="G_MODULE_EXPORT event_save_bitmap")]
public bool event_save_bitmap() { ... }

in:
https://github.com/Raumy/graphmap/blob/master/src/graphmap.vala

Does this allow you to produce a Windows DLL? The G_MODULE_EXPORT
should add __declspec(dllexport) on the Windows platform. As per:

https://developer.gnome.org/glib/stable/glib-Dynamic-Loading-of-Modules.html#G-MODULE-EXPORT:CAPS

Thanks,

Al


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