[haiku-bugs] Re: [Haiku] #6257: Implement basic archiving for BLayout and BLayoutItem classes.

  • From: "yourpalal" <trac@xxxxxxxxxxxx>
  • Date: Wed, 07 Jul 2010 23:35:30 -0000

#6257: Implement basic archiving for BLayout and BLayoutItem classes.
---------------------------------+------------------------------------------
  Reporter:  yourpalal           |         Owner:  pulkomandy    
      Type:  enhancement         |        Status:  assigned      
  Priority:  normal              |     Milestone:  R1            
 Component:  Kits/Interface Kit  |       Version:  R1/Development
Resolution:                      |      Keywords:                
Blocked By:  6256                |   Has a Patch:  1             
  Platform:  All                 |      Blocking:  5525          
---------------------------------+------------------------------------------

Comment (by yourpalal):

 I've attached an updated patch, where replaced the for loop at 39 with a
 while, and have also modified the archiving process. I had originally put
 those comments in because the rest of the file had them as well, but I
 always felt they were useless, so they're gone now. The anonymous
 namespace is to give those string constants hidden linkage, that way they
 can't collide with another variable with the same name somewhere in libbe.
 Its essentially the same as using the static keyword.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6257#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: