Access Fpp constant array in cpp #4095
Answered
by
bocchino
zimri-leisher
asked this question in
Q&A
-
|
You can access numeric FPP constants in CPP like so: in cpp: However, I can't seem to find any code generated for a constant like this: Am I missing something? Or is it not possible to access Fpp constant arrays in CPP? |
Beta Was this translation helpful? Give feedback.
Answered by
bocchino
Sep 2, 2025
Replies: 1 comment 6 replies
-
|
It's currently not possible. This was a design decision from the early days of FPP, when we didn't have direct C++ code generation for arrays and structs. Now it seems we could support array and struct constants in C++. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
zimri-leisher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's currently not possible. This was a design decision from the early days of FPP, when we didn't have direct C++ code generation for arrays and structs. Now it seems we could support array and struct constants in C++.