summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb_var.h
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 20:45:57 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 20:45:57 +0000
commit49aa13876dd02aeea1b22443a127796c9a3bfebd (patch)
tree9a5a1ecc878359f21e5fe97a9bdc6ac94fdfae3c /ppapi/c/ppb_var.h
parent51e2f797693a966fca67779eb67475184be2c24d (diff)
downloadchromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.zip
chromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.tar.gz
chromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.tar.bz2
Update placement of interface 'Define'
A minor change to the way we output the headers. This change moves the defines which are used to name the interfaces and thier versions to the top of the header, moving out of the @file block. This prevents them from being 'spewed' in the documentation. BUG= none TEST= none Review URL: http://codereview.chromium.org/7669001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppb_var.h')
-rw-r--r--ppapi/c/ppb_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/c/ppb_var.h b/ppapi/c/ppb_var.h
index 2351536..66920ad 100644
--- a/ppapi/c/ppb_var.h
+++ b/ppapi/c/ppb_var.h
@@ -14,6 +14,10 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"
+#define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5"
+#define PPB_VAR_INTERFACE_1_0 "PPB_Var;1.0"
+#define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_1_0
+
/**
* @file
* This file defines the <code>PPB_Var</code> struct.
@@ -27,10 +31,6 @@
/**
* PPB_Var API
*/
-#define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5"
-#define PPB_VAR_INTERFACE_1_0 "PPB_Var;1.0"
-#define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_1_0
-
struct PPB_Var {
/**
* AddRef() adds a reference to the given var. If this is not a refcounted