[Poppler-bugs] [Bug 94378] Implement digital signature support (qt frontends)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 4 09:31:01 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94378

--- Comment #7 from Hanno Meyer-Thurow <h.mth at web.de> ---
There is one thing I just cannot wrap my head around/thinking to much:


Variant I: Do you want FormFieldSignature to return a SignatureValidationInfo
instance pointer, that the user has to delete?

Variant 2: Or should the FormFieldSignature instance manage the
SignatureValidationInfo instance, where the user gets a const instance pointer
(get and forget)?


If the SignatureValidationInfo class ever changes, application linked to old
ABI or mixing compiler ABI(name mangling), I question the proper
destruction[0][1].


Therefore I recommend variant II; expecting same c++ name mangling; keep it
simple.

How do you want it?


[0]
http://stackoverflow.com/questions/232926/how-to-make-consistent-dll-binaries-across-vs-versions#232959
[1]
http://stackoverflow.com/questions/331045/using-c-dlls-with-different-compiler-versions#331088

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20161204/81d1853b/attachment.html>


More information about the Poppler-bugs mailing list