| 834 | } |
| 835 | |
| 836 | extern "C" OPENPGL_DLLEXPORT PGLString pglFieldStatisticsHeaderCSVString(PGLFieldStatistics fieldStatistics) |
| 837 | { |
| 838 | auto *gFieldStatistics = (openpgl::FieldStatistics *)fieldStatistics; |
| 839 | std::string str = gFieldStatistics->headerCSVString(); |
| 840 | PGLString pglStr; |
| 841 | pglStr.m_size = str.length() + 1; |
| 842 | pglStr.m_str = new char[pglStr.m_size]; |
| 843 | strcpy(pglStr.m_str, str.c_str()); |
| 844 | return pglStr; |
| 845 | } |
| 846 | |
| 847 | extern "C" OPENPGL_DLLEXPORT PGLString pglFieldStatisticsToCSVString(PGLFieldStatistics fieldStatistics) |
| 848 | { |
no test coverage detected