I would do exactly that: to extend the definition of pdf-list to have
a boolean `allow_duplicates' and control value duplication in the
pdf-list level.

The following patch implement that support (and the current list tests
run fine). Note that the patch includes changes in the API of
pdf_list_add_first(), pdf_list_add_last(), pdf_list_add_at() and
pdf_list_set_at().
Aleks, Gerel, do you think this is a good solution?

Seems fine to me.


Reply via email to