| 65 | } |
| 66 | |
| 67 | char* stringToSolidity(std::string const& _input) |
| 68 | { |
| 69 | char* ptr = solidity_alloc(_input.length()); |
| 70 | BOOST_REQUIRE(ptr != nullptr); |
| 71 | std::memcpy(ptr, _input.c_str(), _input.length()); |
| 72 | return ptr; |
| 73 | } |
| 74 | |
| 75 | } // end anonymous namespace |
| 76 |
no test coverage detected