MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / osl_format

Function osl_format

src/liboslexec/opstring.cpp:164–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163
164OSL_SHADEOP const char *
165osl_format (const char* format_str, ...)
166{
167 va_list args;
168 va_start (args, format_str);
169 std::string s = Strutil::vformat (format_str, args);
170 va_end (args);
171 return ustring(s).c_str();
172}
173
174
175OSL_SHADEOP void

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected