Skip to content

Commit eb5a93b

Browse files
[Manual] Add itypes in macro
1 parent ec51716 commit eb5a93b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/jpeglib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ typedef enum {
268268
/* Common fields between JPEG compression and decompression master structs. */
269269

270270
#define jpeg_common_fields \
271-
struct jpeg_error_mgr *err; /* Error handler module */ \
272-
struct jpeg_memory_mgr *mem; /* Memory manager module */ \
271+
struct jpeg_error_mgr *err : itype(_Ptr<struct jpeg_error_mgr>); /* Error handler module */ \
272+
struct jpeg_memory_mgr *mem : itype(_Ptr<struct jpeg_memory_mgr>); /* Memory manager module */ \
273273
struct jpeg_progress_mgr *progress; /* Progress monitor, or NULL if none */ \
274274
void *client_data; /* Available for use by application */ \
275275
boolean is_decompressor; /* So common code can tell which is which */ \

0 commit comments

Comments
 (0)