Skip to content

Commit

Permalink
[CPyCppyy] Add missing std::string executors
Browse files Browse the repository at this point in the history
  • Loading branch information
guitargeek committed Mar 15, 2024
1 parent 6738f0c commit 60381d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/pyroot/cppyy/CPyCppyy/src/Executors.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,9 @@ struct InitExecFactories_t {
gf["char16_t*"] = (ef_t)+[](cdims_t) { static CString16Executor e{}; return &e;};
gf["char32_t*"] = (ef_t)+[](cdims_t) { static CString32Executor e{}; return &e;};
gf["std::string"] = (ef_t)+[](cdims_t) { static STLStringExecutor e{}; return &e; };
gf["string"] = gf["std::string"];
gf["std::string&"] = (ef_t)+[](cdims_t) { return new STLStringRefExecutor{}; };
gf["string&"] = gf["std::string&"];
gf["std::wstring"] = (ef_t)+[](cdims_t) { static STLWStringExecutor e{}; return &e; };
gf[WSTRING1] = gf["std::wstring"];
gf[WSTRING2] = gf["std::wstring"];
Expand Down

0 comments on commit 60381d9

Please sign in to comment.