After the project goes online, how to reduce customers’ doubts about the delivery?Here is the secret script of three moves>>>
PYBIND11_MODULE(tradecpt, module){
module.doc()="tradecpt plugin";
pybind11::class_<tradecpy::pyTradeApi>(module, "pyTradeApi")
.def(pybind11::init<std::map<std::string,std::string>>())
.def("Connect", &tradecpy::pyTradeApi::Connect);
module.def("add", &add, "A function which adds two numbers", pybind11::arg("a")=1, pybind11::arg("b")=2);
}
The file name of the compiled output must be the same as pybind11_ The tradept of module (tradept, module) should be consistent
Similar Posts:
- Dynamic Web Module 3.1 requires Java 1.7 or newer
- Gradle Could not find method leftShift() for arguments
- Dynamic Code E valuation:Code Injection Dynamic code evaluation: code injection
- How eclipse modifies dynamic web module version
- [Solved] No module named extern.six.moves
- Idea write JUnit test case found:…empty test suite
- Duplicate modifier for the method xxx in type xxx
- Spring cloud multi module packaging errors [How to Solve]
- Eclipse Project Build Automatically、Build Project
- [Solved] Azure Function Enable Managed Identity and Powershell Funciton Report Error: ERROR: ManagedIdentityCredential authentication failed