Grepping through xwalk code, this pattern seems to be used. I moved these into a separate header, and declared them static (anyway they are supposed to be included from one file). Still, they are part of the interface, and good to be in one place.