]> granicus.if.org Git - libvpx/blobdiff - args.h
vpx_dsp/*.[hc]: add missing vpx_dsp_rtcd.h include
[libvpx] / args.h
diff --git a/args.h b/args.h
index ad591afc8667d64b67e6ad1092b1b3842fa4d988..1f37151a028681d9b0f215bb6975261e19e5fd1d 100644 (file)
--- a/args.h
+++ b/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;
@@ -47,5 +51,10 @@ char **argv_dup(int argc, const char **argv);
 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(const struct arg *arg);
 int arg_parse_enum_or_int(const struct arg *arg);
+#ifdef __cplusplus
+}  // extern "C"
 #endif
+
+#endif  // ARGS_H_