refind logger
This commit is contained in:
12
cpp_ext/archery_netcore.cpp
Normal file
12
cpp_ext/archery_netcore.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#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);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user