For some reason, llGetListEntryType slipped in there. The prototype and behaviour were both correct, though.