15 #include "ws_symbol_export.h"
16 #include "ws_attributes.h"
25 #if !GLIB_CHECK_VERSION(2, 68, 0)
27 g_memdup2(gconstpointer mem,
size_t byte_size)
31 if (mem && byte_size != 0) {
32 new_mem = g_malloc(byte_size);
33 memcpy(new_mem, mem, byte_size);