File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#if defined(_MSC_VER)
9
9
#include < BaseTsd.h>
10
- typedef SSIZE_T ssize_t ;
10
+ using ssize_t = SSIZE_T ;
11
11
#endif
12
12
13
13
namespace ffmpeg {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ struct torch_jpeg_error_mgr {
17
17
jmp_buf setjmp_buffer; /* for return to caller */
18
18
};
19
19
20
- typedef struct torch_jpeg_error_mgr * torch_jpeg_error_ptr ;
20
+ using torch_jpeg_error_ptr = struct torch_jpeg_error_mgr *;
21
21
void torch_jpeg_error_exit (j_common_ptr cinfo);
22
22
23
23
#endif
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ struct torch_png_error_mgr {
23
23
jmp_buf setjmp_buffer; /* for return to caller */
24
24
};
25
25
26
- typedef torch_png_error_mgr* torch_png_error_mgr_ptr ;
26
+ using torch_png_error_mgr_ptr = torch_png_error_mgr*;
27
27
28
28
void torch_png_warn (png_structp png_ptr, png_const_charp warn_msg) {
29
29
/* Display warning to user */
You can’t perform that action at this time.
0 commit comments