Clarified a documentation statement about circular references.
authorWouter van Oortmerssen <wvo@google.com>
Mon, 18 Aug 2014 20:49:00 +0000 (13:49 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Tue, 19 Aug 2014 21:25:55 +0000 (14:25 -0700)
Change-Id: I8f3c50085f89037995ab9f26b28d3c83667e9d6f

docs/html/md__internals.html
docs/source/Internals.md

index e277beb..b4da59f 100644 (file)
@@ -107,7 +107,7 @@ inline const char **EnumNamesAny() {
 inline const char *EnumNameAny(int e) { return EnumNamesAny()[e]; }
 </pre><p>Unions share a lot with enums. </p><pre class="fragment">struct Vec3;
 struct Monster;
-</pre><p>Predeclare all datatypes since there may be circular references. </p><pre class="fragment">MANUALLY_ALIGNED_STRUCT(4) Vec3 {
+</pre><p>Predeclare all data types since circular references between types are allowed (circular references between object are not, though). </p><pre class="fragment">MANUALLY_ALIGNED_STRUCT(4) Vec3 {
  private:
   float x_;
   float y_;
index afe994f..bf4b58b 100755 (executable)
@@ -159,7 +159,8 @@ Unions share a lot with enums.
     struct Vec3;
     struct Monster;
 
-Predeclare all datatypes since there may be circular references.
+Predeclare all data types since circular references between types are allowed
+(circular references between object are not, though).
 
     MANUALLY_ALIGNED_STRUCT(4) Vec3 {
      private: