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

Method GetConstant

IDEHelper/Backend/BeModule.cpp:3546–3552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3544}
3545
3546BeConstant* BeModule::GetConstant(BeType* type, double floatVal)
3547{
3548 auto constant = mAlloc.Alloc<BeConstant>();
3549 constant->mType = type;
3550 constant->mDouble = floatVal;
3551 return constant;
3552}
3553
3554BeConstant* BeModule::GetConstant(BeType* type, int64 intVal)
3555{

Callers 2

ReadMethod · 0.45
HandleNextCmdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected