12#ifndef REPL_REPLXX_UTIL_HPP
13#define REPL_REPLXX_UTIL_HPP
25Replxx::completions_t
hook_completion(std::string
const& context,
int& contextLen, std::vector<std::string>
const& user_data);
26void hook_color(std::string
const& str, Replxx::colors_t& colors, std::vector<std::pair<std::string, Replxx::Color>>
const& user_data);
27Replxx::hints_t
hook_hint(std::string
const& context,
int& contextLen, Replxx::Color& color, std::vector<std::string>
const& examples);
int utf8str_codepoint_len(char const *s, int utf8len)
Replxx::completions_t hook_completion(std::string const &context, int &contextLen, std::vector< std::string > const &user_data)
void hook_color(std::string const &str, Replxx::colors_t &colors, std::vector< std::pair< std::string, Replxx::Color > > const &user_data)
Replxx::hints_t hook_hint(std::string const &context, int &contextLen, Replxx::Color &color, std::vector< std::string > const &examples)
int context_len(char const *prefix)