Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
extern
"C"
char* GetPyMain() {
6
TString res = NResource::Find(
"PY_MAIN"
);
7
return strdup(res.c_str());
8
}
Callers
1
pymain
Function · 0.85
Calls
2
Find
Function · 0.50
c_str
Method · 0.45
Tested by
no test coverage detected