Sha256: 0240849d7ff47550c1f7ae6a76fff7571a68b4ac93c708548abac437208beb6c
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
#include "filegdb.hpp" #include <cstdlib> const std::wstring to_wstring(const char *input) { std::string converted(input); return std::wstring(converted.begin(), converted.end()); } const std::string to_string(std::wstring str) { static char result[16384] = { 0 }; std::wcstombs(result, str.c_str(), sizeof(result)); return std::string(result); } const std::string fgdb_error_string(fgdbError hr) { wstring errorText; ErrorInfo::GetErrorDescription(hr, errorText); return to_string(errorText); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
filegdb-1.1.1 | ext/filegdb/util.cpp |
filegdb-1.1.0 | ext/filegdb/util.cpp |
filegdb-1.0.0 | ext/filegdb/util.cpp |