summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-07-05 15:13:52 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-07-05 15:21:40 +0200
commitcecaf40a19772f6bbfb798f77e281d2cd306d455 (patch)
tree461f6c31b8738cec0a6a0d011be28ef352e2ab4e
parent462f1cd6a3149d102337c40625bd1ec09d76667b (diff)
downloadvala-cecaf40a19772f6bbfb798f77e281d2cd306d455.tar.gz
gobject-2.0: Add lower_case_csuffix attributes to Type* symbols
-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);