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

Method CreateStruct

IDEHelper/Backend/BeContext.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78BeStructType* BeContext::CreateStruct(const StringImpl& name)
79{
80 BeStructType* structType = mTypes.Alloc<BeStructType>();
81 structType->mContext = this;
82 structType->mTypeCode = BeTypeCode_Struct;
83 structType->mName = name;
84 structType->mIsOpaque = true;
85 return structType;
86}
87
88BeStructType* BeContext::CreateStruct(const SizedArrayImpl<BeType*>& types)
89{

Callers 1

HandleNextCmdMethod · 0.80

Calls 3

TryGetValueWithMethod · 0.80
AddMethod · 0.45
TryAddMethod · 0.45

Tested by

no test coverage detected