glibcompat.h 1.2 KB

1234567891011121314151617181920212223242526272829
  1. #ifndef MC_GLIBCOMPAT_H
  2. #define MC_GLIBCOMPAT_H
  3. /*** typedefs(not structures) and defined constants **********************************************/
  4. /*** enums ***************************************************************************************/
  5. /*** structures declarations (and typedefs of structures)*****************************************/
  6. /*** global variables defined in .c file *********************************************************/
  7. /*** declarations of public functions ************************************************************/
  8. #if ! GLIB_CHECK_VERSION (2, 28, 0)
  9. void g_slist_free_full (GSList * list, GDestroyNotify free_func);
  10. void g_list_free_full (GList * list, GDestroyNotify free_func);
  11. #endif /* ! GLIB_CHECK_VERSION (2, 28, 0) */
  12. #if ! GLIB_CHECK_VERSION (2, 32, 0)
  13. void g_queue_free_full (GQueue * queue, GDestroyNotify free_func);
  14. #endif /* ! GLIB_CHECK_VERSION (2, 32, 0) */
  15. #if ! GLIB_CHECK_VERSION (2, 60, 0)
  16. void g_queue_clear_full (GQueue * queue, GDestroyNotify free_func);
  17. #endif /* ! GLIB_CHECK_VERSION (2, 60, 0) */
  18. /*** inline functions ****************************************************************************/
  19. #endif /* MC_GLIBCOMPAT_H */