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 2246642 commit f6711dcCopy full SHA for f6711dc
src/xcomm.cpp
@@ -5,6 +5,7 @@
5
*
6
* The full license is in the file LICENSE, distributed with this software.
7
****************************************************************************/
8
+#include <memory>
9
10
#include "xcomm.hpp"
11
@@ -35,6 +36,14 @@ namespace xeus_javascript
35
36
{
37
}
38
39
+ std::unique_ptr<xcomm> xcomm::create(
40
+ std::string target_name,
41
+ nl::json kwargs
42
+ )
43
+ {
44
+ return std::make_unique<xcomm>(target_name, kwargs);
45
+ }
46
+
47
xcomm::xcomm(xeus::xcomm&& comm)
48
: m_comm(std::move(comm))
49
0 commit comments