MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / dataTypeStandard

Function dataTypeStandard

Extras/Serialize/HeaderGenerator/apiGen.cpp:76–95  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

74
75///////////////////////////////////////////////////////////////////////////////
76bool dataTypeStandard(bString dataType)
77{
78 if (dataType == "char")
79 return true;
80 if (dataType == "short")
81 return true;
82 if (dataType == "int")
83 return true;
84 if (dataType == "long")
85 return true;
86 if (dataType == "float")
87 return true;
88 if (dataType == "double")
89 return true;
90 if (dataType == "void")
91 return true;
92 if (dataType == "btScalar")
93 return true;
94 return false;
95}
96
97///////////////////////////////////////////////////////////////////////////////
98void writeTemplate(short *structData)

Callers 1

writeTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected