Changeset af09afd


Ignore:
Timestamp:
2023-04-02T16:40:12Z (13 months ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
92a03a0
Parents:
10425b2
git-author:
Robert Scheck <robert-scheck@…> (02-04-23 16:40:12)
git-committer:
GitHub <noreply@…> (02-04-23 16:40:12)
Message:

Simplify g_memdup2() usage (#179)

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/json_util.c

    r10425b2 raf09afd  
    2929
    3030/* g_memdup() deprecated as of glib 2.68.0 */
    31 #ifdef GLIB_VERSION_2_68
    32 #define g_memdup2 g_memdup2
    33 #else
     31#ifndef GLIB_VERSION_2_68
    3432#define g_memdup2 g_memdup
    3533#endif
  • lib/xmltree.c

    r10425b2 raf09afd  
    3434
    3535/* g_memdup() deprecated as of glib 2.68.0 */
    36 #ifdef GLIB_VERSION_2_68
    37 #define g_memdup2 g_memdup2
    38 #else
     36#ifndef GLIB_VERSION_2_68
    3937#define g_memdup2 g_memdup
    4038#endif
Note: See TracChangeset for help on using the changeset viewer.