glib
printing a GHashTable out in GDB
I am trying to print out a GHashTable in GDB in a clean way.I found a blog on the Archer project which shows the ability to print out a GHashTable nicely:[详细]
2023-02-28 08:49 分类:问答why g_thread_supported return false in my machine
It\'s Debian testing- 2.6.38, glib-2.24 ( including gthread) checking with pkg-config 开发者_JS百科--cflags/--libs glib-2.0 gthread-2.0[详细]
2023-02-23 03:25 分类:问答GLIB: g_atomic_int_get becomes NO-OP?
In a larger piece of code, I noticed that the g_atomic_* functions in glib were not doing what I expected, so I wrote this simple example:[详细]
2023-02-22 20:34 分类:问答Do all Vim builds use glib?
My version of non gui Vim seems to use glib. me@laptop:~$ ldd /usr/bin/vim | grep glib-2.0 libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb722c000)[详细]
2023-02-22 19:37 分类:问答How is it possible to lock a GMutex twice?
I have a test program that I wrote to try and debug a GMutex issue that I am having and I cannot seem to figure it out.I am using the class below to lock and unlock a mutex within a scoped context.Thi[详细]
2023-02-22 08:38 分类:问答Declaring GPtrArray object local
I have creat开发者_StackOverflow中文版ed a pointer using g_ptr_array_sized_new() of GPtrArray class in a local method.[详细]
2023-02-20 18:14 分类:问答Using g_array_sort function
I need to use the function g_array_sort(GArray *array,开发者_高级运维 GCompareFunc *func) but I do not understand the second parameter.[详细]
2023-02-20 00:05 分类:问答g_io_channel + socket = client, and GIO not work properly
dude here im gonna create client and combine with GIO Channel, and after i put it all together, it seems appears to work on socket, but the g_io_channel not as watching, like crashing or such..[详细]
2023-02-17 19:48 分类:问答C, GLib: Is there a method to get the size - can be applied to text file, binary file, folder, and symbolic link in common?
// gcc z.c -o z $(pkg-config --cflags --libs gtk+-2.0) #include <string.h> #include <gtk/gtk.h>[详细]
2023-02-17 15:23 分类:问答installing gtk and glib
hi开发者_JS百科 every one kindly tell me how to install glib and gtk i am using ubuntu 10.04. i did;nt find any commands kindly tell me the procedure to install itSimply type:[详细]
2023-02-16 19:03 分类:问答