MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / CallPythonMethodWithOneArgument

Method CallPythonMethodWithOneArgument

python/src/PyLogger.cxx:173–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
172
173PyObjectPtr PyLogger::CallPythonMethodWithOneArgument(const char* method_name, const PyObjectPtr& arg)
174{
175 PyObjectPtr tuple = PyTuple_Pack(1, arg.get());
176 return CallPythonMethodWithTuple(method_name, tuple);
177}
178
179//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
180

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected