mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
patterns: Fixed namespace of hex::prv:: functions
This commit is contained in:
@@ -32,7 +32,7 @@ namespace hex::plugin::builtin {
|
||||
pl::api::Namespace nsHexPrv = { "builtin", "hex", "prv" };
|
||||
{
|
||||
/* get_information() */
|
||||
ContentRegistry::PatternLanguage::addFunction(nsHexCore, "get_information", FunctionParameterCount::between(1, 2), [](Evaluator *, auto params) -> std::optional<Token::Literal> {
|
||||
ContentRegistry::PatternLanguage::addFunction(nsHexPrv, "get_information", FunctionParameterCount::between(1, 2), [](Evaluator *, auto params) -> std::optional<Token::Literal> {
|
||||
std::string category = params[0].toString(false);
|
||||
std::string argument = params.size() == 2 ? params[1].toString(false) : "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user