Skip to content

Commit

Permalink
Add memcpy for YASIO_NI.
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed May 20, 2019
1 parent 081941b commit b79b1ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yasio/impl/yasio-ni.cpp
Expand Up @@ -29,7 +29,7 @@ SOFTWARE.
/*
** yasio-ni.cpp: The yasio native interface for interop.
*/

#include <string.h>
#include "yasio/yasio.h"

#if defined(_WINDLL)
Expand Down Expand Up @@ -188,6 +188,7 @@ YASIO_NI_API void yasio_set_console_print_fn(void (*console_print_fn)(const char
{
yasio_console_print_fn = console_print_fn;
}
YASIO_NI_API void yasio_memcpy(void *dst, const void *src, unsigned int len) { ::memcpy(dst, src, len); }
#if defined(__cplusplus)
}
#endif

0 comments on commit b79b1ba

Please sign in to comment.