Files
archery/cpp_ext/archery_netcore.cpp
gcw_4spBpAfv 945077a453 refind logger
2026-01-20 18:40:54 +08:00

13 lines
296 B
C++

#include <pybind11/pybind11.h>
namespace py = pybind11;
static const char* kServerIp = "stcp.shelingxingqiu.com";
PYBIND11_MODULE(archery_netcore, m) {
m.doc() = "Archery net core (native, pybind11).";
m.def("server_ip", []() {
return py::str(kServerIp);
});
}