MuPDF 1.22.0 Documentationtime. Do not hold on to them past the duration of the current function, or stow them away inside structs. If you need to keep the object for longer than that, you have to either keep it or make your own into C++ exceptions. 5.1.3 Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument. • Classes automatically handle reference counting of the underlying C structs, so there is no need for manual calls to fz_keep_*() and fz_drop_*(), and class instances can be0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 Documentationtime. Do not hold on to them past the duration of the current function, or stow them away inside structs. If you need to keep the object for longer than that, you have to either keep it or make your own into C++ exceptions. 7.1.3 Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument. • Classes automatically handle reference counting of the underlying C structs, so there is no need for manual calls to fz_keep_*() and fz_drop_*(), and class instances can be0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.24.0 Documentationtime. Do not hold on to them past the duration of the current function, or stow them away inside structs. If you need to keep the object for longer than that, you have to either keep it or make your own into C++ exceptions. 7.1.3 Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument. • Classes automatically handle reference counting of the underlying C structs, so there is no need for manual calls to fz_keep_*() and fz_drop_*(), and class instances can be0 码力 | 249 页 | 830.15 KB | 8 月前3
MuPDF 1.25.0 Documentationtime. Do not hold on to them past the duration of the current function, or stow them away inside structs. If you need to keep the object for longer than that, you have to either keep it or make your own into C++ exceptions. 8.2.3 Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs: • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument. • Classes automatically handle reference counting of the underlying C structs, so there is no need for manual calls to fz_keep_*() and fz_drop_*(), and class instances can be0 码力 | 259 页 | 1.11 MB | 8 月前3
共 4 条
- 1













