Initialize struct and get address in macro

前端 未结 0 2036
时光说笑
时光说笑 2021-02-06 06:32

Let\'s say I have the following struct:

struct Color {
    uint8_t r, g, b, a;
};

I\'m trying to create a macro that would initialize this struct

相关标签:
回答
  • 消灭零回复
提交回复
热议问题