IDA SDK
Macros
C Number formatting flags

Detailed Description

passed as 'pcn' parameter to format_c_number()

Macros

#define PCN_RADIX   0x07
 number base to use
 
#define PCN_DEC   0x00
 decimal
 
#define PCN_HEX   0x01
 hexadecimal
 
#define PCN_OCT   0x02
 octal
 
#define PCN_CHR   0x03
 character
 
#define PCN_UNSIGNED   0x08
 add 'u' suffix
 
#define PCN_LZHEX   0x10
 print leading zeroes for hexdecimal number
 
#define PCN_NEGSIGN   0x20
 print negated value (-N) for negative numbers