mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-10 01:53:07 +00:00
Use smart pointers
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
|
||||
#include "format.h"
|
||||
|
||||
filter_stream *get_encoder(format_t type, FILE *fp = nullptr);
|
||||
filter_stream *get_decoder(format_t type, FILE *fp = nullptr);
|
||||
stream_ptr get_encoder(format_t type, sFILE &&fp);
|
||||
|
||||
stream_ptr get_decoder(format_t type, sFILE &&fp);
|
||||
|
||||
void compress(const char *method, const char *infile, const char *outfile);
|
||||
|
||||
void decompress(char *infile, const char *outfile);
|
||||
|
||||
Reference in New Issue
Block a user