Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 302fe3d7 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

Codec2: move global variable declarations behind a macro flag

Use #define __C2_GENERATE_GLOBAL_VARS__ prior to including headers
to generate globals. This is currently used for C2Param fieldList
member initialization.

TODO: investigate if initializer lists can be returned by
inline static class methods instead that don't require this
separation, and if they produce no memory overhead.

Bug: 64662308
Change-Id: I7050182bf756aae66d7cfc2785472046e93eb7c8
parent 92b01549
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment