MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / bstr2cstr

Function bstr2cstr

src/cbstring/bstrlib.c:291–309  ·  view source on GitHub ↗

char * bstr2cstr (const_bstring s, char z) * * Create a '\0' terminated char * buffer which is equal to the contents of * the bstring s, except that any contained '\0' characters are converted * to the character in z. This returned value should be freed with a * bcstrfree () call, by the calling application. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

AddUserOutputMethod · 0.85
DeclareBufferVariableFunction · 0.85
TranslateDeclarationMethod · 0.85
TranslateHLSLFromMemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected