Remove obsolete free_result refs

This commit is contained in:
Ingvar Stepanyan
2020-08-04 15:17:16 +01:00
parent 3cda8285a1
commit 0807fa4b9a
3 changed files with 0 additions and 9 deletions

View File

@ -12,7 +12,3 @@ See `example.html`
### `RawImage decode(std::string buffer)`
Decodes the given avif buffer into raw RGBA. `RawImage` is a class with 3 fields: `buffer`, `width`, and `height`.
### `void free_result()`
Frees the result created by `decode()`.

View File

@ -35,7 +35,3 @@ struct AvifOptions {
int subsample;
};
```
### `void free_result()`
Frees the result created by `encode()`.

View File

@ -2,7 +2,6 @@ import { EncodeOptions } from '../../src/codecs/avif/encoder-meta';
interface AVIFModule extends EmscriptenWasm.Module {
encode(data: BufferSource, width: number, height: number, options: EncodeOptions): Uint8Array;
free_result(): void;
}