@b4n commented on this pull request.
> + * @brief Replace %-placeholders in a string + * @param str Format string including placeholders + * @param insert_replacement Callback function to insert placeholder replacements. + * It gets called with the buffer to which append the + * replacement, the placeholder character, and @p data. + * It should return whether the placeholder was handled + * or not. + * @param data User data to pass to the @p insert_replacement + * @returns A copy of @p str with placeholders replaced + * + * Replaces arbitrary placeholders in a printf-style format string. Unknown + * placeholders are left unmodified in the resulting string. + * There is one special placeholder that is always handled and replaced, that + * is `%`: it is replaced with a literal "%"; that is `%%` results in `%`. + */ +GEANY_EXPORT_SYMBOL Sure, if it's useful we can add it. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4318#discussion_r2134146126 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/4318/review/2907764...@github.com>