Skip to content

Commit

Permalink
Remove 'metadata' generation in -light option.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Mar 7, 2024
1 parent 03c4440 commit 1510412
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions compiler/generator/c/c_code_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,11 @@ void CCodeContainer::produceClass()
tab(n, *fOut);
*fOut << "}";

// Print metadata declaration
tab(n, *fOut);
produceMetadata(n);
if (!gGlobal->gLightMode) {
// Print metadata declaration
tab(n, *fOut);
produceMetadata(n);
}

// Get sample rate method
tab(n, *fOut);
Expand Down

0 comments on commit 1510412

Please sign in to comment.