]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
WIP Regen with latest girparser wip/libgtop-2.0
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 11 Nov 2019 12:57:50 +0000 (13:57 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 11 Nov 2019 13:02:17 +0000 (14:02 +0100)
vapi/libgtop-2.0.vapi
vapi/metadata/GTop-2.0.metadata

index 29f3870990b966b5d8337cf4281eb6da596c6102..7cdf80db06e9bfb675eef291c9a867df6c2ce04d 100644 (file)
@@ -11,7 +11,7 @@ namespace GTop {
                [CCode (array_length = false)]
                public char parameter[16];
        }
-       [CCode (cheader_filename = "glibtop.h", cname = "glibtop", lower_case_cprefix = "glibtop_", type_id = "glibtop_get_type ()")]
+       [CCode (cheader_filename = "glibtop.h", cname = "glibtop", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_get_type ()")]
        [GIR (name = "glibtop")]
        public struct Context {
                public uint flags;
@@ -253,7 +253,7 @@ namespace GTop {
        [GIR (name = "glibtop_machine")]
        public struct Machine {
        }
-       [CCode (cheader_filename = "glibtop/procmap.h", cname = "glibtop_map_entry", lower_case_cprefix = "glibtop_", type_id = "glibtop_map_entry_get_type ()")]
+       [CCode (cheader_filename = "glibtop/procmap.h", cname = "glibtop_map_entry", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_map_entry_get_type ()")]
        [GIR (name = "glibtop_map_entry")]
        public struct MapEntry {
                public uint64 flags;
@@ -287,7 +287,7 @@ namespace GTop {
                public uint64 user;
                public uint64 locked;
        }
-       [CCode (cheader_filename = "glibtop/mountlist.h", cname = "glibtop_mountentry", lower_case_cprefix = "glibtop_", type_id = "glibtop_mountentry_get_type ()")]
+       [CCode (cheader_filename = "glibtop/mountlist.h", cname = "glibtop_mountentry", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_mountentry_get_type ()")]
        [GIR (name = "glibtop_mountentry")]
        public struct MountEntry {
                public uint64 dev;
@@ -298,7 +298,7 @@ namespace GTop {
                [CCode (array_length = false)]
                public char type[80];
        }
-       [CCode (cheader_filename = "glibtop/mountlist.h", cname = "glibtop_mountlist", lower_case_cprefix = "glibtop_", type_id = "glibtop_mountlist_get_type ()")]
+       [CCode (cheader_filename = "glibtop/mountlist.h", cname = "glibtop_mountlist", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_mountlist_get_type ()")]
        [GIR (name = "glibtop_mountlist")]
        public struct MountList {
                public uint64 flags;
@@ -350,7 +350,7 @@ namespace GTop {
                [CCode (array_length = false)]
                public uint8 hwaddress[8];
        }
-       [CCode (cheader_filename = "glibtop/procopenfiles.h", cname = "glibtop_open_files_entry", lower_case_cprefix = "glibtop_", type_id = "glibtop_open_files_entry_get_type ()")]
+       [CCode (cheader_filename = "glibtop/procopenfiles.h", cname = "glibtop_open_files_entry", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_open_files_entry_get_type ()")]
        [GIR (name = "glibtop_open_files_entry")]
        public struct OpenFileEntry {
                public int fd;
@@ -419,7 +419,7 @@ namespace GTop {
                public uint64 total;
                public uint64 size;
        }
-       [CCode (cheader_filename = "glibtop/procmap.h", cname = "glibtop_proc_map", lower_case_cprefix = "glibtop_", type_id = "glibtop_proc_map_get_type ()")]
+       [CCode (cheader_filename = "glibtop/procmap.h", cname = "glibtop_proc_map", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_proc_map_get_type ()")]
        [GIR (name = "glibtop_proc_map")]
        public struct ProcMap {
                public uint64 flags;
@@ -438,7 +438,7 @@ namespace GTop {
                public uint64 rss;
                public uint64 rss_rlim;
        }
-       [CCode (cheader_filename = "glibtop/procopenfiles.h", cname = "glibtop_proc_open_files", lower_case_cprefix = "glibtop_", type_id = "glibtop_proc_open_files_get_type ()")]
+       [CCode (cheader_filename = "glibtop/procopenfiles.h", cname = "glibtop_proc_open_files", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "glibtop_", type_id = "glibtop_proc_open_files_get_type ()")]
        [GIR (name = "glibtop_proc_open_files")]
        public struct ProcOpenFiles {
                public uint64 flags;
index 45e6b48b8c2d520c1948668441ec8544d82b643b..b055978a0c919ab7f7d79932e07276f9790a308c 100644 (file)
@@ -44,6 +44,8 @@ glibtop_sysinfo name="SysInfo" cheader_filename="glibtop/sysinfo.h"
 glibtop_union skip // name="Union" cheader_filename="glibtop/union.h"
 glibtop_uptime name="Uptime" cheader_filename="glibtop/uptime.h"
 
+glibtop_init* skip=false
+
 glibtop_init* name="glibtop_(.+)"
 glibtop.get_*.buf out unowned nullable
 glibtop_get_*.buf out unowned nullable