Difference: MupdfCppWrappers (15 vs. 16)

Revision 162020-04-27 - JulianSmith

Line: 1 to 1
 
META TOPICPARENT name="JulianSmith"

Auto-generated mupdf C++ wrappers

Status

Changed:
<
<
As of 2020-4-24:
>
>
As of 2020-4-28:
 
  • We generate class wrappers for all fz structs.
  • We auto-detect fz_*() fns suitable for wrapping as constructors, methods or static methods.
  • Some generated classes have auto-generated support for iteration.
  • We add various custom wrappers for fz_*() fns.
  • We add various custom methods/constructors.
Changed:
<
<
  • We provide access via wrapper classes to 715 fz_*() fns.
  • There are a total of 935 fz_*() functions. Most of the omitted functions don't take struct args, e.g. fz_strlcpy(). Of the remaining, some use fz_* enums (which we don't yet wrap); see https://ghostscript.com/~julian/mupdf/platform/c++/fn_usage.txt for more information.
>
>
  • We provide access via wrapper classes to 686 fz_*() fns.
  • There are a total of 888 fz_*() functions. Most of the omitted functions don't take struct args, e.g. fz_strlcpy(). Of the remaining, some use fz_* enums (which we don't yet wrap); see https://ghostscript.com/~julian/mupdf/platform/c++/fn_usage.txt for more information.
  • We work with swig-3 or swig-4.
  • We work with clang-6 or clang-7.
  • We work on peeved and jules-laptop.
 

Comments

Line: 58 to 61
 
    mupdf/
        build/

Changed:
<
<
shared/
>
>
release-shared/ libmupdf.so [generated file] libmupdfcpp.so [generated file, implements C++ API] debug-shared/
  libmupdf.so [generated file] libmupdfcpp.so [generated file, implements C++ API] platform/ c++/
Deleted:
<
<
Makefile
  implementation/ *.cpp [generated files] include/ mupdf/ *.h [generated files] python/
Deleted:
<
<
Makefile
  mudf.py [generated file, implements Python API] _mupdf.so [generated file, implements Python API internals] scripts/
Line: 90 to 94
 
    cd mupdf/
Changed:
<
<
./scripts/mupdf.py -b 0123 -t
>
>
./scripts/mupdfwrap.py -b all -t
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2014 Artifex Software Inc