summaryrefslogtreecommitdiff
path: root/vapi/gobject-2.0.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/gobject-2.0.vapi')
-rw-r--r--vapi/gobject-2.0.vapi7
1 files changed, 4 insertions, 3 deletions
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index e2565e7c6..29de3cfac 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -419,7 +419,7 @@ namespace GLib {
[CCode (cname = "g_param_spec_variant")]
public ParamSpecVariant (string name, string nick, string blurb, GLib.VariantType type, GLib.Variant? default_value, GLib.ParamFlags flags);
}
- [CCode (free_function = "g_type_class_unref")]
+ [CCode (free_function = "g_type_class_unref", lower_case_csuffix = "type_class")]
[Compact]
public class TypeClass {
public void add_private (size_t private_size);
@@ -429,10 +429,11 @@ namespace GLib {
public unowned GLib.TypeInterface? peek (GLib.Type iface_type);
public unowned GLib.TypeClass? peek_parent ();
}
+ [CCode (lower_case_csuffix = "type_instance")]
[Compact]
public class TypeInstance {
}
- [CCode (free_function = "g_type_default_interface_unref")]
+ [CCode (free_function = "g_type_default_interface_unref", lower_case_csuffix = "type_interface")]
[Compact]
public class TypeInterface {
public void add_prerequisite ();
@@ -476,7 +477,7 @@ namespace GLib {
public void sort (GLib.CompareFunc<GLib.Value> compare_func);
public void sort_with_data (GLib.CompareDataFunc<GLib.Value> compare_func);
}
- [CCode (cheader_filename = "glib-object.h", type_id = "g_type_plugin_get_type ()")]
+ [CCode (cheader_filename = "glib-object.h", lower_case_csuffix = "type_plugin", type_id = "g_type_plugin_get_type ()")]
public interface TypePlugin {
public void complete_interface_info (GLib.Type instance_type, GLib.Type interface_type, GLib.InterfaceInfo info);
public void complete_type_info (GLib.Type g_type, GLib.TypeInfo info, GLib.TypeValueTable value_table);