glib
How can I call the GLib threads g_thread_init using JNA?
I\'m trying to invoke a function in a native C library using JNA which uses GLib and GLib Threads.When I attempt to invoke the function, the JVM crashes and the following error is printed:[详细]
2023-03-15 02:41 分类:问答how to use libxml2 to parse data from GInputStream (GLibGIO/GVFS)?
In a GTK application, I\'m using xmlParseFile() from libxml2. However, that function can only read local files. How can I instead make it use the GIO framework, so that it can read remote files as wel[详细]
2023-03-15 02:25 分类:问答Getting content carried by reference
I have a reference to a string object how can i get开发者_开发问答 the data from it. Here is my sample:[详细]
2023-03-09 03:50 分类:问答Behaviour of an hashtable using glib
I want to update the Volume to each @IP. So that for example after each 5 s I add V(i) of each @IP(i). Ok Now the hash table works fine it keeps updated after every T seconds. But the problem is that[详细]
2023-03-09 02:06 分类:问答content inserted into ghashtable being destroyed
I have a ghashtable object as member of my class. I have created new object of it at constructor. I am calling this function iteratively. When i checked the size of hashtable at each method call it\'s[详细]
2023-03-08 23:44 分类:问答Are there any Linux alternatives to libgpod for reading/writing iPod databases?
I am writing a C program to sync my iPod, in the same spirit as gtkpod but for the console. Gtkpod uses their own library, libgpod, for connecting to ipod dbs. I want to 开发者_JS百科know if there are[详细]
2023-03-06 06:10 分类:问答A Value That Should Be The Same But It Changes
This part of could should return always the same hash value to each Key isn\'t it ? But I find that values related to keys they change to each update ...[详细]
2023-03-03 23:49 分类:问答GHashTable responding totally differently to two identical inputs
What follows is the shortest compilable demonstration of my problem I can create. Look at the printf calls near the end, the output follows. I have no idea why two statements that are exactly the sam[详细]
2023-03-03 15:52 分类:问答Glib type testing macros cause segfault when passed a GSList
Passing a GSList to a Glib macro (Like G_OBJECT_TYPE_NAME(), GTK_IS_WIDGET() etc) causes a segmentation fault.[详细]
2023-03-02 05:31 分类:问答How do I get GDB to break on a GLib assertion failure?
Somewhere in a mass of code that I did not write (but I am trying to debug), an assertion fails in the GLib library:[详细]
2023-02-28 21:46 分类:问答