示例#1
0
        private static void *__CopyValue(global::libxml.XmlBuffer.__Internal native)
        {
            var ret = Marshal.AllocHGlobal(sizeof(global::libxml.XmlBuffer.__Internal));

            *(global::libxml.XmlBuffer.__Internal *)ret = native;
            return(ret.ToPointer());
        }
示例#2
0
 private XmlBuffer(global::libxml.XmlBuffer.__Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#3
0
 internal static global::libxml.XmlBuffer __CreateInstance(global::libxml.XmlBuffer.__Internal native, bool skipVTables = false)
 {
     return(new global::libxml.XmlBuffer(native, skipVTables));
 }