generate constants with cgo -godefs
change {Set,Get}Attrib arg to Attrib