private static void *__CopyValue(global::Std.CharTraits.__Internal native) { var ret = Marshal.AllocHGlobal(sizeof(global::Std.CharTraits.__Internal)); *(global::Std.CharTraits.__Internal *)ret = native; return(ret.ToPointer()); }
private CharTraits(global::Std.CharTraits.__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static global::Std.CharTraits <_CharT> __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false) { return(new global::Std.CharTraits <_CharT>(native, skipVTables)); }