codebrainz commented on this pull request.
> +} Placeholder;
+
+
+static const gchar *placeholder_replacement(Placeholder *placeholders, size_t
n_placeholders, gchar placeholder)
+{
+ for (size_t i = 0; i < n_placeholders; i++)
+ {
+ if (placeholders[i].placeholder == placeholder)
+ return placeholders[i].replacement;
+ }
+
+ return NULL;
+}
+
+
+/* Replaces %s-style placeholders in a string.
Oh it's for the build commands? My question still stands, but it's completely
out of scope for this PR.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1300