Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 GLib 中将整数值转换为字符串。是否有任何宏或函数可以实现?或者我可以将不同的数据类型存储在同一个双向链表中吗?
gchar *my_string = g_strdup_printf("%i", my_integer);
GINT_TO_POINTER