We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b335781 commit 7ea9444Copy full SHA for 7ea9444
src/xcomm.cpp
@@ -124,7 +124,8 @@ namespace xeus_javascript
124
125
void export_xcomm(){
126
em::class_<xcomm>("Comm")
127
- .constructor<std::string, nl::json>()
+ .smart_ptr<std::unique_ptr<xcomm>>("xcomm")
128
+ .class_function("create", &xcomm::create)
129
.function("comm_id", &xcomm::comm_id)
130
.function("kernel", &xcomm::kernel)
131
.function("open", &xcomm::open)
0 commit comments