Home | History | Annotate | Download | only in test_cgen
      1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
      2  * Use of this source code is governed by a BSD-style license that can be
      3  * found in the LICENSE file.
      4  */
      5 
      6 /**
      7  * This file provides a definition of C99 sized types
      8  * for Microsoft compilers. These definitions only apply
      9  * for trusted modules.
     10  */
     11 
     12 label Chrome {
     13   M13 = 0.0,
     14   M14 = 1.0,
     15   M15 = 2.0
     16 };
     17 
     18 [version=0.0]
     19 describe {
     20   /** Standard Ints. */
     21   int8_t;
     22   int16_t;
     23   int32_t;
     24   int64_t;
     25   uint8_t;
     26   uint16_t;
     27   uint32_t;
     28   uint64_t;
     29   /** Small and large floats. */
     30   double_t;
     31   float_t;
     32 
     33   /** Native file handle (int). */
     34   handle_t;
     35 
     36   /** Interface object (void *). */
     37   interface_t;
     38 
     39   /** Used for padding, should be (u)int8_t */
     40   char;
     41 
     42   /** Pointer to memory (void *). */
     43   mem_t;
     44 
     45   /** Pointer to null terminated string (char *). */
     46   str_t;
     47 
     48   /** No return value. */
     49   void;
     50 
     51   /** Pointer to pointer to memory (void **). */
     52   blob_t;
     53 };
     54 
     55