logo       
Google Custom Search
    AddThis Social Bookmark Button

src/tools/melange c-decl.dylan,1.20.2.2,1.20.2.3: msg#00127

Subject: src/tools/melange c-decl.dylan,1.20.2.2,1.20.2.3
Update of /var/lib/cvs/src/tools/melange
In directory cantor:/tmp/cvs-serv13245

Modified Files:
      Tag: GD_2_5
        c-decl.dylan 
Log Message:
Coalesced struct fields are made of longs, not of bytes. Need to remember
to back-port to 2.3.


Index: c-decl.dylan
===================================================================
RCS file: /var/lib/cvs/src/tools/melange/c-decl.dylan,v
retrieving revision 1.20.2.2
retrieving revision 1.20.2.3
diff -u -d -r1.20.2.2 -r1.20.2.3
--- c-decl.dylan        23 Oct 2003 13:21:46 -0000      1.20.2.2
+++ c-decl.dylan        23 Oct 2003 15:37:30 -0000      1.20.2.3
@@ -971,7 +971,7 @@
 end class <bitfield-declaration>;
 
 define class <coalesced-bitfields> (<declaration>)
-  slot type :: <predefined-type-declaration> = unsigned-char-type;
+  slot type :: <predefined-type-declaration> = unsigned-long-type;
   slot bit-size :: <integer> = 0;
   slot fields :: <stretchy-vector> = make(<stretchy-vector>);
   constant slot excluded? :: <boolean> = #f; // defer to each field

_______________________________________________
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
http://www.gwydiondylan.org/mailman/listinfo/gd-chatter




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>