We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de4cbb5 commit 68564c0Copy full SHA for 68564c0
1 file changed
transupp.h
@@ -20,6 +20,12 @@
20
* jpegtran.c for an example of correct usage.
21
*/
22
23
+#ifdef __cplusplus
24
+#ifndef DONT_USE_EXTERN_C
25
+extern "C" {
26
+#endif
27
28
+
29
/* If you happen not to want the image transform support, disable it here */
30
#ifndef TRANSFORMS_SUPPORTED
31
#define TRANSFORMS_SUPPORTED 1 /* 0 disables transform code */
@@ -208,3 +214,9 @@ EXTERN(void) jcopy_markers_setup(j_decompress_ptr srcinfo,
208
214
EXTERN(void) jcopy_markers_execute(j_decompress_ptr srcinfo,
209
215
j_compress_ptr dstinfo,
210
216
JCOPY_OPTION option);
217
218
219
220
+}
221
222
0 commit comments