MCPcopy Create free account
hub / github.com/beefytech/Beef / GetNameStr

Method GetNameStr

BeefRT/dbg/gc.cpp:332–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 }
331
332 const char* GetNameStr(bf::System::Type* type)
333 {
334 static Beefy::String str;
335
336 if (type == NULL)
337 return "NULL";
338
339 try
340 {
341 bf::System::Type* bfTypeRoot = (bf::System::Type*)type;
342 str = type->GetFullName();
343 return str.c_str();
344 }
345 catch (...)
346 {
347 return "<invalid>";
348 }
349 }
350
351#pragma warning(disable:4477)
352

Callers

nothing calls this directly

Calls 2

GetFullNameMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected