public Poppler.FormFieldMapping 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_form_field_mapping_copy(this_as_native); Poppler.FormFieldMapping ret = Poppler.FormFieldMapping.New(raw_ret); ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); return(ret); }
static void ReadNative(IntPtr native, ref Poppler.FormFieldMapping target) { target = New(native); }