2

I'm reading the source code of Telegram Desktop application. There are a few lines defined like this:

#define DeclareSetting(Type, Name) DeclareReadSetting(Type, Name) \
inline void cSet##Name(const Type &Name) { \
    g##Name = Name; \
}

Could someone please explain what does this mean? I studied macro's but I couldn't understand this syntax. (please don't kill me if it's called something else kindly correct me by editing this.)

Jarod42
  • 203,559
  • 14
  • 181
  • 302
max
  • 2,627
  • 1
  • 24
  • 44

0 Answers0