Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Unified Diff: ppapi/generators/test_cgen/stdint.idl

Issue 7477056: Add base class for generators (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/generators/test_cgen/stdint.h ('k') | ppapi/generators/test_cgen/structs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_cgen/stdint.idl
===================================================================
--- ppapi/generators/test_cgen/stdint.idl (revision 0)
+++ ppapi/generators/test_cgen/stdint.idl (revision 0)
@@ -0,0 +1,51 @@
+/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * This file provides a definition of C99 sized types
+ * for Microsoft compilers. These definitions only apply
+ * for trusted modules.
+ */
+
+label Chrome {
+ M13 = 0.0,
+ M14 = 1.0,
+ M15 = 2.0
+};
+
+[version=0.0]
+describe {
+ /** Standard Ints. */
+ int8_t;
+ int16_t;
+ int32_t;
+ int64_t;
+ uint8_t;
+ uint16_t;
+ uint32_t;
+ uint64_t;
+ /** Small and large floats. */
+ double_t;
+ float_t;
+
+ /** Native file handle (int). */
+ handle_t;
+
+ /** Interface object (void *). */
+ interface_t;
+
+ /** Used for padding, should be (u)int8_t */
+ char;
+
+ /** Pointer to memory (void *). */
+ mem_t;
+
+ /** Pointer to null terminated string (char *). */
+ str_t;
+
+ /** No return value. */
+ void;
+};
+
Property changes on: ppapi/generators/test_cgen/stdint.idl
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ppapi/generators/test_cgen/stdint.h ('k') | ppapi/generators/test_cgen/structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698