Hm. It seems the Maemo c_types python library is broken - it doesn't define "c_bool", whereas my Ubuntu box does.