Hi,
while packaging libfsobasics I noticed some pointer cast problems. The first I
could resolve with the attached patch to libnl-2.0.vapi to include the correct
.h file.
The other 3 happen in netlinknotifier.vala in lines
- 141: map.lookup
- 153: map.lookup
- 161: map.insert(..)
as
"cast to pointer from integer of different size"
As my knowledge about vala internals is limited I couldn't resolve these so
far.
Heiko
--- libnl-2.0.vapi.old 2010-03-10 18:19:44.000000000 +0100
+++ libnl-2.0.vapi 2010-03-12 09:39:42.000000000 +0100
@@ -193,7 +193,7 @@
}
[Compact]
- [CCode (cprefix = "nl_msg_", cname = "struct nl_msg", free_function = "nl_msg_free", cheader_filename = "netlink/netlink.h")]
+ [CCode (cprefix = "nl_msg_", cname = "struct nl_msg", free_function = "nl_msg_free", cheader_filename = "netlink/msg.h")]
public class Message {
public void dump (Posix.FILE file);
public int parse (CallbackFunc func);
_______________________________________________
Smartphones-userland mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland