Replies: 1 comment
-
Yes, the preprocessor does not support For function-style
would be translated to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example:
#define DW_RGB(a, b, c) (0xF0000000 | (a) | (b) << 8 | (c) << 16)
I think I will convert it into a function. But Adept also supports preprocessor so I posted this question to know what is the most correct and efficient way to translate it to Adept.
Beta Was this translation helpful? Give feedback.
All reactions