* include/freetype/internal/ftmemory.h (FT_MEM_DUP): Fix g++ error.

adjust
Alexei Podtelezhnikov 7 months ago
parent 5f131cfd20
commit 42d406ab04
  1. 7
      include/freetype/internal/ftmemory.h

@ -371,8 +371,11 @@ extern "C++"
#define FT_STRDUP( dst, str ) \
FT_MEM_SET_ERROR( FT_MEM_STRDUP( dst, str ) )
#define FT_MEM_DUP( dst, address, size ) \
(dst) = ft_mem_dup( memory, (address), (FT_ULong)(size), &error )
#define FT_MEM_DUP( dst, address, size ) \
FT_ASSIGNP_INNER( dst, ft_mem_dup( memory, \
(address), \
(FT_ULong)(size), \
&error ) )
#define FT_DUP( dst, address, size ) \
FT_MEM_SET_ERROR( FT_MEM_DUP( dst, address, size ) )

Loading…
Cancel
Save