You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#ifdefPDF_ENABLE_XFA// PDF_USE_XFA is set in confirmation that this version of PDFium can support// XFA forms as requested by the PDF_ENABLE_XFA setting.#definePDF_USE_XFA#endif// PDF_ENABLE_XFA
When passing --define PDF_ENABLE_XFA to ctypesgen, members guarded by #ifdef PDF_ENABLE_XFA correctly appear in the output file, except PDF_USE_XFA. It seems like defines without value are not supported by ctypesgen?
In this case it should be translated to PDF_USE_XFA = True in python.
The text was updated successfully, but these errors were encountered:
pdfium has this construct:
When passing
--define PDF_ENABLE_XFA
to ctypesgen, members guarded by#ifdef PDF_ENABLE_XFA
correctly appear in the output file, exceptPDF_USE_XFA
. It seems like defines without value are not supported by ctypesgen?In this case it should be translated to
PDF_USE_XFA = True
in python.The text was updated successfully, but these errors were encountered: