[glibmm/glibmm-2-66] gmmproc: Make h2def.py recognize G_DEFINE_AUTOPTR_CLEANUP_FUNC
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-66] gmmproc: Make h2def.py recognize G_DEFINE_AUTOPTR_CLEANUP_FUNC
- Date: Sat, 23 Jul 2022 08:25:56 +0000 (UTC)
commit 228c9e7ed6d90a6b2900c617b164edd5e8e93ac6
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sat Jul 23 10:20:20 2022 +0200
gmmproc: Make h2def.py recognize G_DEFINE_AUTOPTR_CLEANUP_FUNC
tools/defs_gen/h2def.py | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/tools/defs_gen/h2def.py b/tools/defs_gen/h2def.py
index 3201f417..1f8b306f 100755
--- a/tools/defs_gen/h2def.py
+++ b/tools/defs_gen/h2def.py
@@ -324,6 +324,10 @@ def clean_func(buf):
pat = re.compile(r"""GDK_DECLARE_INTERNAL_TYPE\s*\(.*?\)""", re.MULTILINE)
buf = pat.sub('', buf)
+ #strip G_DEFINE_AUTOPTR_CLEANUP_FUNC (*)
+ pat = re.compile(r"""G_DEFINE_AUTOPTR_CLEANUP_FUNC\s*\(.*?\)""", re.MULTILINE)
+ buf = pat.sub('', buf)
+
#we are not stripping G_GNUC_INTERNAL
#extern "C"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]