]> granicus.if.org Git - libvpx/blobdiff - warnings.h
vp9,encoder: relocate setjmp
[libvpx] / warnings.h
index 90b34c884c894b2e8f7096a419243ef18c6bb35e..6b8ae6796f37cbc76904850f0e4cd9e1c99c1c41 100644 (file)
 #ifndef WARNINGS_H_
 #define WARNINGS_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct vpx_codec_enc_cfg;
 struct VpxEncoderConfig;
 
@@ -20,6 +24,10 @@ struct VpxEncoderConfig;
  */
 void check_encoder_config(int disable_prompt,
                           const struct VpxEncoderConfig *global_config,
-                          struct vpx_codec_enc_cfg *stream_config);
+                          const struct vpx_codec_enc_cfg *stream_config);
+
+#ifdef __cplusplus
+}  // extern "C"
+#endif
 
 #endif  // WARNINGS_H_