Why use GLib functions?

后端 未结 7 519
野的像风
野的像风 2021-01-31 17:30

While programming in C and GTK+, why is it \"better\" to use g_strdup_printf, g_free, g_strcmp0 etc... and fellow GLib functions?

相关标签:
7条回答
  • 2021-01-31 18:01

    Their behavior is well-defined on any platform that GTK+ supports, as opposed to the native functions which may perhaps sometimes partway work.

    0 讨论(0)
提交回复
热议问题