Before

…lines 1–111 unchanged (111 lines)
112 {
113 if (Owned) {
114 g_file_attribute_matcher_unref (raw);
115 Owned = false;
116 }
117 }
118
119 class FinalizerInfo {
120 IntPtr handle;
121
122 public FinalizerInfo (IntPtr handle)
123 {
124 this.handle = handle;
125 }
126
127 public bool Handler ()
128 {
129 g_file_attribute_matcher_unref (handle);
130 return false;
131 }
132 }
133
134 ~FileAttributeMatcher ()
135 {
136 if (!Owned)
137 return;
138 FinalizerInfo info = new FinalizerInfo (Handle);
139 GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
140 }
141
142
143 // Internal representation of the wrapped structure ABI.
144 static GLib.AbiStruct _abi_info = null;
145 static public GLib.AbiStruct abi_info {
146 get {
…lines 147–161 unchanged (15 lines)

After

…lines 1–111 unchanged (111 lines)
112 {
113 if (Owned) {
114 g_file_attribute_matcher_unref (raw);
115 Owned = false;
116 }
117 }
118
119 protected override Action<IntPtr> DisposeUnmanagedFunc {
120 get {
121 return g_file_attribute_matcher_unref;
122 }
123 }
124
125
126 // Internal representation of the wrapped structure ABI.
127 static GLib.AbiStruct _abi_info = null;
128 static public GLib.AbiStruct abi_info {
129 get {
…lines 130–144 unchanged (15 lines)

Before

compilation_unit
comment "// This file was generated by the Gtk# code generator."
comment "// Any changes made will be lost if regenerated."
namespace_declaration
namespace "namespace"
identifier "GLib"
declaration_list
{ "{"
using_directive
using "using"
identifier "System"
; ";"
using_directive
using "using"
qualified_name
identifier "System"
. "."
identifier "Collections"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "System"
. "."
identifier "Collections"
. "."
identifier "Generic"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "System"
. "."
identifier "Runtime"
. "."
identifier "InteropServices"
; ";"
preproc_region
#region "#region"
preproc_arg "Autogenerated code"
class_declaration
modifier
public "public"
modifier
partial "partial"
class "class"
identifier "FileAttributeMatcher"
base_list
: ":"
qualified_name
identifier "GLib"
. "."
identifier "Opaque"
declaration_list
{ "{"
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+49 nodes collapsed)
method_declaration (+32 nodes collapsed)
property_declaration (+55 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+110 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+51 nodes collapsed)
constructor_declaration (+21 nodes collapsed)
method_declaration (+35 nodes collapsed)
constructor_declaration (+60 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+42 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+40 nodes collapsed)
class_declaration
class "class"
identifier "FinalizerInfo"
declaration_list
{ "{"
field_declaration
variable_declaration
identifier "IntPtr"
variable_declarator
identifier "handle"
; ";"
constructor_declaration
modifier
public "public"
identifier "FinalizerInfo"
parameter_list
( "("
parameter
identifier "IntPtr"
identifier "handle"
) ")"
block
{ "{"
expression_statement
assignment_expression
member_access_expression
this "this"
. "."
identifier "handle"
= "="
identifier "handle"
; ";"
} "}"
method_declaration
modifier
public "public"
predefined_type "bool"
identifier "Handler"
parameter_list
( "("
) ")"
block
{ "{"
expression_statement
invocation_expression
identifier "g_file_attribute_matcher_unref"
argument_list
( "("
argument
identifier "handle"
) ")"
; ";"
return_statement
return "return"
boolean_literal
false "false"
; ";"
} "}"
} "}"
destructor_declaration
~ "~"
identifier "FileAttributeMatcher"
parameter_list
( "("
) ")"
block
{ "{"
if_statement
if "if"
( "("
prefix_unary_expression
! "!"
identifier "Owned"
) ")"
return_statement
return "return"
; ";"
local_declaration_statement
variable_declaration
identifier "FinalizerInfo"
variable_declarator
identifier "info"
= "="
object_creation_expression
new "new"
identifier "FinalizerInfo"
argument_list
( "("
argument
identifier "Handle"
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
member_access_expression
identifier "GLib"
. "."
identifier "Timeout"
. "."
identifier "Add"
argument_list
( "("
argument
integer_literal "50"
, ","
argument
object_creation_expression
new "new"
qualified_name
identifier "GLib"
. "."
identifier "TimeoutHandler"
argument_list
( "("
argument
member_access_expression
identifier "info"
. "."
identifier "Handler"
) ")"
) ")"
; ";"
} "}"
comment "// Internal representation of the wrapped structure ABI."
field_declaration
modifier
static "static"
variable_declaration
qualified_name
identifier "GLib"
. "."
identifier "AbiStruct"
variable_declarator
identifier "_abi_info"
= "="
null_literal "null"
; ";"
property_declaration (+59 nodes collapsed)
comment "// End of the ABI representation."
preproc_endregion
#endregion "#endregion"
} "}"
} "}"

After

compilation_unit
comment "// This file was generated by the Gtk# code generator."
comment "// Any changes made will be lost if regenerated."
namespace_declaration
namespace "namespace"
identifier "GLib"
declaration_list
{ "{"
using_directive
using "using"
identifier "System"
; ";"
using_directive
using "using"
qualified_name
identifier "System"
. "."
identifier "Collections"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "System"
. "."
identifier "Collections"
. "."
identifier "Generic"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "System"
. "."
identifier "Runtime"
. "."
identifier "InteropServices"
; ";"
preproc_region
#region "#region"
preproc_arg "Autogenerated code"
class_declaration
modifier
public "public"
modifier
partial "partial"
class "class"
identifier "FileAttributeMatcher"
base_list
: ":"
qualified_name
identifier "GLib"
. "."
identifier "Opaque"
declaration_list
{ "{"
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+49 nodes collapsed)
method_declaration (+32 nodes collapsed)
property_declaration (+55 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+78 nodes collapsed)
method_declaration (+39 nodes collapsed)
method_declaration (+110 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+51 nodes collapsed)
constructor_declaration (+21 nodes collapsed)
method_declaration (+35 nodes collapsed)
constructor_declaration (+60 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+42 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+40 nodes collapsed)
property_declaration
modifier
protected "protected"
modifier
override "override"
generic_name
identifier "Action"
type_argument_list
< "<"
identifier "IntPtr"
> ">"
identifier "DisposeUnmanagedFunc"
accessor_list
{ "{"
accessor_declaration
get "get"
block
{ "{"
return_statement
return "return"
identifier "g_file_attribute_matcher_unref"
; ";"
} "}"
} "}"
comment "// Internal representation of the wrapped structure ABI."
field_declaration
modifier
static "static"
variable_declaration
qualified_name
identifier "GLib"
. "."
identifier "AbiStruct"
variable_declarator
identifier "_abi_info"
= "="
null_literal "null"
; ";"
property_declaration (+59 nodes collapsed)
comment "// End of the ABI representation."
preproc_endregion
#endregion "#endregion"
} "}"
} "}"