コード例 #1
0
ファイル: libpostal.cs プロジェクト: FTLturtle/LibPostal
 public LibpostalAddressParserResponse(global::LibPostalNet.LibpostalAddressParserResponse _0)
 {
     __Instance                     = Marshal.AllocHGlobal(sizeof(global::LibPostalNet.LibpostalAddressParserResponse.__Internal));
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
     *((global::LibPostalNet.LibpostalAddressParserResponse.__Internal *)__Instance) = *((global::LibPostalNet.LibpostalAddressParserResponse.__Internal *)_0.__Instance);
 }
コード例 #2
0
ファイル: libpostal.cs プロジェクト: FTLturtle/LibPostal
        public static void LibpostalAddressParserResponseDestroy(global::LibPostalNet.LibpostalAddressParserResponse self)
        {
            var __arg0 = ReferenceEquals(self, null) ? global::System.IntPtr.Zero : self.__Instance;

            __Internal.LibpostalAddressParserResponseDestroy(__arg0);
        }