MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:748–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746{
747 QiFunc_sub() : QiFunc(2, 3) {}
748 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
749 {
750 return QiVar::sub(args[0].toString(), args[1].toInteger(), args.size() > 2 ? args[2].toInteger() : ~size_t(0));
751 }
752};
753/*
754any value

Callers

nothing calls this directly

Calls 3

toIntegerMethod · 0.80
toStringMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected