Delete wuffs_base__pixel_config::initialize

This commit is contained in:
Nigel Tao committed 2019-02-16 09:04:59 +11:00
1 parent ab7d6de318
commit ff399c0e78
3 files changed
+6 -36

No files matched your search

-15
View File
@@ -1734,12 +1734,6 @@ typedef struct {
} private_impl;
#ifdef __cplusplus
// TODO: deprecated. This is for transitioning pre-v0.2 code.
inline void initialize(wuffs_base__pixel_format pixfmt,
wuffs_base__pixel_subsampling pixsub,
uint32_t width,
uint32_t height);
inline void set(wuffs_base__pixel_format pixfmt,
wuffs_base__pixel_subsampling pixsub,
uint32_t width,
@@ -1866,15 +1860,6 @@ wuffs_base__pixel_config__pixbuf_len(wuffs_base__pixel_config* c) {
#ifdef __cplusplus
// TODO: deprecated. This is for transitioning pre-v0.2 code.
inline void //
wuffs_base__pixel_config::initialize(wuffs_base__pixel_format pixfmt,
wuffs_base__pixel_subsampling pixsub,
uint32_t width,
uint32_t height) {
wuffs_base__pixel_config__set(this, pixfmt, pixsub, width, height);
}
inline void //
wuffs_base__pixel_config::set(wuffs_base__pixel_format pixfmt,
wuffs_base__pixel_subsampling pixsub,