CrazyEngineers
  • Unable to understand this #define

    Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK
    Updated: Oct 26, 2024
    Views: 1.1K
    Was reading through an opensource code and came across this #define implementation. Not able to understand this expression. does anyone know what it is?

    #define JSON_SYM_SKIP(sym)    \
           [sym] = 0
    
    what is that array like assignment doing?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Home Channels Search Login Register