Exemple #1
0
        public Poppler.PageTransition Copy()
        {
            IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this));

            System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false);
            IntPtr raw_ret = poppler_page_transition_copy(this_as_native);

            Poppler.PageTransition ret = Poppler.PageTransition.New(raw_ret);
            ReadNative(this_as_native, ref this);
            System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native);
            return(ret);
        }
Exemple #2
0
 static void ReadNative(IntPtr native, ref Poppler.PageTransition target)
 {
     target = New(native);
 }