aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/runtime_py3/main/get_py_main.cpp
blob: 67c400d4f42497c6d96d5e7d8886be5fe8816816 (plain) (blame)
1
2
3
4
5
6
7
8
#include <library/cpp/resource/resource.h>

#include <stdlib.h>

extern "C" char* GetPyMain() {
    TString res = NResource::Find("PY_MAIN");
    return strdup(res.c_str());
}