[Vala] exposing the unref and ref member for gtypeinstance classes?
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] exposing the unref and ref member for gtypeinstance classes?
- Date: Sat, 10 Jan 2009 13:11:42 -0500
Dear Jurg,
Is it possible to expose ref and unref member of gtypeinstance classes?
They will be useful with GHashTable.new_full
I am currently using a dirty workaround like this:
class A {
public static extern void unref(void*);
}
HashTable<T, A>.new_full(..., ..., ...,A.unref);
Regards,
Yu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]