MCPcopy Create free account
hub / github.com/catboost/catboost / GetPyMain

Function GetPyMain

library/python/runtime_py3/main/get_py_main.cpp:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <stdlib.h>
4
5extern "C" char* GetPyMain() {
6 TString res = NResource::Find("PY_MAIN");
7 return strdup(res.c_str());
8}

Callers 1

pymainFunction · 0.85

Calls 2

FindFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected