[Vala] [Bindings] Few quick questions about glib
- From: Mihail Naydenov <mlists ymail com>
- To: vala <vala-list gnome org>
- Subject: [Vala] [Bindings] Few quick questions about glib
- Date: Sat, 6 Sep 2008 14:40:12 -0700 (PDT)
1
public class List<G> {
...
public G data; //is this correct? Is not weak missing? Every other member function returning the data or a new list returns weak ref
public List<G> next; //same here
public weak List<G> prev;
}
2
Why are all major string functions in glib (g_str*), member functions in a string class? Shouldn't they be static in the class or even just functions in string namespace? In the end they all return a new string and do not use any class data.
10x
MihailNajdnov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]