consistent naming across c and java