MCPcopy Create free account
hub / github.com/Singular/Singular / countedref_String

Function countedref_String

Singular/countedref.cc:363–367  ·  view source on GitHub ↗

blackbox support - convert to string representation

Source from the content-addressed store, hash-verified

361
362/// blackbox support - convert to string representation
363char* countedref_String(blackbox */*b*/, void* ptr)
364{
365 if (ptr == NULL) return omStrDup(sNoName_fe);
366 return (*CountedRef::cast(ptr))->String();
367}
368
369/// blackbox support - copy element
370void* countedref_Copy(blackbox*/*b*/, void* ptr)

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected