[Vala] [ModuleInit] and __attribute__ ((constructor)) ?
- From: Ildar Mulyukov <ildar users sourceforge net>
- To: Vala compiler development and discussion <vala-list gnome org>
- Subject: [Vala] [ModuleInit] and __attribute__ ((constructor)) ?
- Date: Wed, 15 Oct 2008 03:03:17 +0600
Hi!
I am very new to Vala. Great thanks to Jürg and participants.
I've a question (or it's really two separate questions?)
1. What does [ModuleInit] do?
I've checked the generated C-code for it and found that it does
nothing noticeable. At least in this snippet:
http://live.gnome.org/Vala/TypeModules
2. I want to have __attribute__ ((constructor)) function but cannot
figure out how to do it. Any hint?
I thought that this two questions could be one, but I'm not sure.
Thanks. Best regards, Ildar
--
Ildar Mulyukov, free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]