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

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