Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
430 B

using System;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
namespace CppSharp.Runtime
{
public static class Helpers
{
#if WINDOWS
[DllImport("msvcrt.dll", EntryPoint = "memcpy", CallingConvention = CallingConvention.Cdecl)]
#else
[DllImport("libc", EntryPoint = "memcpy")]
#endif
public static extern IntPtr memcpy(IntPtr dest, IntPtr src, UIntPtr count);
}
}