// Mostly just workarounds for static C functions that can’t be linked // directly from the Rust FFI system. #include #include #include #include #include #include /////////////////////////////////////////////////////////////////////////////// // WEBP ENCODE /////////////////////////////////////////////////////////////////////////////// int webp_config_init(WebPConfig* config) { return WebPConfigInit(config); } int webp_config_preset(WebPConfig* config, WebPPreset preset, float quality) { return WebPConfigPreset(config, preset, quality); } int webp_picture_init(WebPPicture* picture) { return WebPPictureInit(picture); }