MCPcopy Create free account
hub / github.com/bytedance/bolt / getSignatures

Function getSignatures

bolt/python/Utils.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75namespace bolt::python {
76std::vector<std::shared_ptr<exec::FunctionSignature>> getSignatures(
77 const TypePtr& returnType) {
78 auto builder = exec::FunctionSignatureBuilder();
79 builder.returnType(exec::TypeSignature(*returnType).toString());
80 builder.argumentType("any");
81 builder.variableArity();
82 return {builder.build()};
83}
84
85std::vector<std::shared_ptr<exec::FunctionSignature>> getSignatures(
86 const TypePtr& returnType,

Callers 2

registerPythonFunctionFunction · 0.85

Calls 6

TypeSignatureClass · 0.85
variableArityMethod · 0.80
toStringMethod · 0.45
buildMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected