Re: [Vala] Support for exporting a callback function in windows!!
- From: "Jared Moore" <jaredm gmx com>
- To: "Matías De la Puente" <mfpuente ar gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Support for exporting a callback function in windows!!
- Date: Fri, 4 Jul 2008 12:33:19 +1000
Hi Matías,
(sorry, I pressed "Reply" instead of "Reply All" by accident).
If you can report a bug for it in Bugzilla then I might make a patch
sometime soon. Plus, having it reported in Bugzilla means it won't get
forgotten.
Cheers,
Jared
2008/7/4 Matías De la Puente <mfpuente ar gmail com>:
Hello all,
It is posible to add an attibute (like '[Export]') for export a callback
function in windows?
In linux work fine the callback functions but in window must add this to a
callback method:
G_MODULE_EXPORT void callback_example ();
When compiling on Linux, this will have absolutely no effect, but when
compiling on Windows, the macro expands to __declspec(dllexport), which
marks the symbol as one to be exported, so that it can be called by gmodule.
Please this support because is important (in windows only), Thanks!!!
Matias
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]