예제 #1
0
        public IntPtr ManagedToNativeAlloc(string man)
        {
            IntPtr newstring = MemoryNative.StrDup(man);

            return(newstring);
        }
예제 #2
0
 public IntPtr ManagedToNativeAlloc(T man)
 {
     return(MemoryNative.StrDup((string)(object)man));
 }