From: Mathieu Desnoyers Date: Sun, 27 Feb 2011 12:33:48 +0000 (-0500) Subject: Update proposal type class description X-Git-Tag: v1.8~77 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=1fad7a855094f1dde6912a9d8f971cbbbc62f07b;ds=sidebyside Update proposal type class description Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index fd7731f..458b097 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -83,9 +83,13 @@ header" throughout the rest of this document. 4. Types +Types are organized as type classes. Each type class belong to either of two +kind of types: basic types or compound types. + 4.1 Basic types -A basic type is a scalar type, as described in this section. +A basic type is a scalar type, as described in this section. It includes +integers, GNU/C bitfields, enumerations, and floating point values. 4.1.1 Type inheritance @@ -300,8 +304,12 @@ enum { ... } + 4.2 Compound types +Compound are aggregation of type declarations. Compound types include +structures, variant, arrays, sequences, and strings. + 4.2.1 Structures Structures are aligned on the largest alignment required by basic types