summaryrefslogtreecommitdiff
path: root/src/analysis/scan/exprs/handler.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-03-04 08:11:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-03-04 08:11:19 (GMT)
commitfad3328dbabccc33e984f2f9a39411e959dc03e1 (patch)
tree810175d04bacc667bc19032e929ffbe84436d136 /src/analysis/scan/exprs/handler.h
parent7f25bd904e483ca90548c7001839a102090eb290 (diff)
Share instances to avoid extra calls to g_object_[un]ref().
Diffstat (limited to 'src/analysis/scan/exprs/handler.h')
-rw-r--r--src/analysis/scan/exprs/handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analysis/scan/exprs/handler.h b/src/analysis/scan/exprs/handler.h
index 96e9301..a1ddf98 100644
--- a/src/analysis/scan/exprs/handler.h
+++ b/src/analysis/scan/exprs/handler.h
@@ -60,6 +60,9 @@ typedef enum _ScanHandlerType
GType g_scan_pattern_handler_get_type(void);
/* Met en place une manipulation de correspondances établies. */
+GScanExpression *g_scan_pattern_handler_new_shared(const GSearchPattern ** const, size_t, ScanHandlerType);
+
+/* Met en place une manipulation de correspondances établies. */
GScanExpression *g_scan_pattern_handler_new(GSearchPattern ** const, size_t, ScanHandlerType);
/* Indique le type de manipulation de correspondances spécifié. */