ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/make_nodes.c
(Generate patch)

Comparing trunk/OOPSE/libBASS/make_nodes.c (file contents):
Revision 956 by mmeineke, Thu Nov 6 19:24:31 2003 UTC vs.
Revision 957 by gezelter, Mon Jan 19 16:08:21 2004 UTC

# Line 215 | Line 215 | struct node_tag* molecule_blk( struct node_tag* stmt_l
215    the_node = ( struct node_tag* )malloc( sizeof( node ) );
216    
217    the_node->type = MOLECULE_HEAD;
218 +  the_node->index = 0;
219 +  the_node->next_stmt = NULL;
220 +  the_node->prev_stmt = NULL;
221 +  the_node->stmt_list = walk_to_top( stmt_list );
222 +    
223 +  return the_node;
224 + }
225 +
226 + struct node_tag* rigidbody_blk( int index, struct node_tag* stmt_list ){
227 +  
228 +  struct node_tag* the_node;
229 +  the_node = ( struct node_tag* )malloc( sizeof( node ) );
230 +  
231 +  the_node->type = RIGIDBODY_HEAD;
232    the_node->index = 0;
233    the_node->next_stmt = NULL;
234    the_node->prev_stmt = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines