MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / pglReleaseString

Function pglReleaseString

openpgl/api/api.cpp:862–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860///////////////////////////////////////////////////////////////////////////////
861
862extern "C" OPENPGL_DLLEXPORT void pglReleaseString(PGLString str)
863{
864 if (str.m_str)
865 {
866 delete[] str.m_str;
867 str.m_str = nullptr;
868 str.m_size = 0;
869 }
870}
871
872#if defined(OPENPGL_IMAGE_SPACE_GUIDING_BUFFER)
873///////////////////////////////////////////////////////////////////////////////

Callers 3

ToStringMethod · 0.85
HeaderCSVStringMethod · 0.85
ToCSVStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected