mirror of https://github.com/freetype/freetype
* include/freetype/internal/ftmemory.h (FT_MEM_DUP): Fix g++ error.
This commit is contained in:
parent
5f131cfd20
commit
42d406ab04
|
@ -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…
Reference in New Issue