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
  • 190,553
  • 13
  • 166
  • 271
moki
  • 2,409
  • 1
  • 21
  • 43

0 Answers0