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

Function BeValueDynCastExact

IDEHelper/Backend/BeModule.h:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275template <typename T>
276T* BeValueDynCastExact(BeValue* value)
277{
278 if (value == NULL)
279 return NULL;
280 if (value->GetTypeId() != T::TypeId)
281 return NULL;
282 return (T*)value;
283}
284
285class BeBlock;
286class BeInst;

Callers

nothing calls this directly

Calls 1

GetTypeIdMethod · 0.45

Tested by

no test coverage detected