get_py_main.cpp 176 B

12345678
  1. #include <library/cpp/resource/resource.h>
  2. #include <stdlib.h>
  3. extern "C" char* GetPyMain() {
  4. TString res = NResource::Find("PY_MAIN");
  5. return strdup(res.c_str());
  6. }