[Vala] Making libraries with Vala
- From: Ildar Mulyukov <ildar users sourceforge net>
- To: Vala compiler development and discussion <vala-list gnome org>
- Subject: [Vala] Making libraries with Vala
- Date: Fri, 04 Sep 2009 04:08:49 +0500
Hi!
As I see, this topic was not discussed in details before.
I am writing a library with Vala. And want to discuss some caveats of
this task.
1. Valac supports "--library" option, but still cannot build one with
one shot - it cannot link a library (is it true?)
2. Not all of the Vala features are accessible from the program using a
library (This is my guess. I think it's worth to have a document (or
wiki page) explicitly naming these features)
2a. I found a regression - in-library defined Error Domain is not fully
accessible from a client program. This is because a compiled Error
Domain looks like:
#define ZZZZZ_ASSERTION_ERROR zzzzz_assertion_error_quark ()
which is lost in library form.
Version 0.6 was 100% working. (It had .h files along with vapi)
3. May be something I just didn't bump in yet.
Thanks and 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]