MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / VarDecl

Method VarDecl

src/hx/cppia/Cppia.cpp:5868–5878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5866 CppiaExpr *init;
5867
5868 VarDecl(CppiaStream &stream,bool inInit)
5869 {
5870 var.fromStream(stream);
5871 init = 0;
5872 if (inInit)
5873 {
5874 int t = stream.getInt();
5875 init = createCppiaExpr(stream);
5876 init->haxeTypeId = t;
5877 }
5878 }
5879
5880 void runVoid(CppiaCtx *ctx) HXCPP_OVERRIDE
5881 {

Callers

nothing calls this directly

Calls 3

createCppiaExprFunction · 0.85
fromStreamMethod · 0.45
getIntMethod · 0.45

Tested by

no test coverage detected