diff options
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/args.h')
-rw-r--r-- | chromium/third_party/libvpx/source/libvpx/args.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/args.h b/chromium/third_party/libvpx/source/libvpx/args.h index ad591afc866..04e0acdf1b8 100644 --- a/chromium/third_party/libvpx/source/libvpx/args.h +++ b/chromium/third_party/libvpx/source/libvpx/args.h @@ -9,10 +9,14 @@ */ -#ifndef ARGS_H -#define ARGS_H +#ifndef ARGS_H_ +#define ARGS_H_ #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif + struct arg { char **argv; const char *name; @@ -48,4 +52,8 @@ unsigned int arg_parse_uint(const struct arg *arg); int arg_parse_int(const struct arg *arg); struct vpx_rational arg_parse_rational(const struct arg *arg); int arg_parse_enum_or_int(const struct arg *arg); +#ifdef __cplusplus +} // extern "C" #endif + +#endif // ARGS_H_ |