File: c8bb1c6017a6f7f2e47bd10543aea6b3ec69a966.patch

package info (click to toggle)
cppgir 2.0%2Bgit20240928.c8bb1c6%2Breally2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,228 kB
  • sloc: cpp: 14,307; ansic: 339; makefile: 11; sh: 9
file content (29 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From c8bb1c6017a6f7f2e47bd10543aea6b3ec69a966 Mon Sep 17 00:00:00 2001
From: Mark Nauwelaerts <mnauw@users.sourceforge.net>
Date: Sat, 28 Sep 2024 12:03:41 +0200
Subject: [PATCH] tools: add additional basic gobjection-introspection types

Patch by Jan Alexander Steffens

Fixes issue #91
---
 tools/repository.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/repository.cpp b/tools/repository.cpp
index 5b5c737..9140851 100644
--- a/tools/repository.cpp
+++ b/tools/repository.cpp
@@ -10,7 +10,8 @@ static std::set<std::string> basic_types{"gchar", "guchar", "gshort", "gushort",
     "gint", "guint", "glong", "gulong", "gssize", "gsize", "gintptr",
     "guintptr", "gpointer", "gconstpointer", "gboolean", "gint8", "gint16",
     "guint8", "guint16", "gint32", "guint32", "gint64", "guint64", "gfloat",
-    "gdouble", "GType", "utf8", "filename", "gi::cstring", "gunichar"};
+    "gdouble", "GType", "utf8", "filename", "gi::cstring", "gunichar",
+    "dev_t", "gid_t", "pid_t", "socklen_t", "uid_t"};
 
 class RepositoryPriv : public Repository
 {
-- 
GitLab