Changeset 593 for branches/1.3/stack.h


Ignore:
Timestamp:
2009-07-05T06:06:15+02:00 (5 years ago)
Author:
moo
Message:

merged r304,r305,r306,r307 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/stack.h

    r394 r593  
    77 
    88#define S xc_stack_t* 
    9 void xc_stack_init(S stack); 
     9void xc_stack_init_ex(S stack, int initsize); 
     10#define xc_stack_init(stack) xc_stack_init_ex(stack, 8) 
    1011void xc_stack_destroy(S stack); 
    1112void xc_stack_push(S stack, void *item); 
     
    1314void *xc_stack_top(S stack); 
    1415void *xc_stack_get(S stack, int n); 
    15 int xc_stack_size(S stack); 
     16int xc_stack_count(S stack); 
    1617void xc_stack_reverse(S stack); 
    1718#undef S 
Note: See TracChangeset for help on using the changeset viewer.