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.)