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