MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetCstring

Function GetCstring

Libs/flatbuffers/flatbuffers.h:728–730  ·  view source on GitHub ↗

Convenience function to get char* from a String returning an empty string on null pointer.

Source from the content-addressed store, hash-verified

726// Convenience function to get char* from a String returning an empty string on
727// null pointer.
728static inline const char *GetCstring(const String *str) {
729 return str ? str->c_str() : "";
730}
731
732#ifdef FLATBUFFERS_HAS_STRING_VIEW
733// Convenience function to get string_view from a String returning an empty

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected