On 4/5/2020 12:46 PM, luigi scarso wrote:


On Sun, Apr 5, 2020 at 12:35 PM Hans Hagen <j.ha...@xs4all.nl <mailto:j.ha...@xs4all.nl>> wrote:


    adding an extra return value is no big deal but we can't predict
    incompatibilities (and we're not assumed to introduce these)


no modification,  in case we will add
pdfe.getpdfstring
and mark getstring as deprecated.
one can define that as helper in lua if needed:

function pdfe.getpdfstring(n,m)
    if pdfe.type(n) == "pdfe.array" then
        local t, v, d = pdfe.getfromarray(n,m)
        return v, d
    elseif pdfe.type(n) == "pdfe.dictionary" then
        local t, v, d = pdfe.getfromdictionary(n,m)
        return v, d
    end
end

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to