Ignore:
Timestamp:
Mar 18, 2008, 9:36:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of ugly tabs and trailing spaces everywhere.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/lisp/stack.hpp

    r74 r124  
    2121// A fixed-size stack class
    2222template<class T> class grow_stack
    23 { 
     23{
    2424public:
    2525    T **sdata;
     
    3737    }
    3838
    39     void push(T *data) 
     39    void push(T *data)
    4040    {
    4141        if(son >= smax)
     
    4747        son++;
    4848    }
    49      
    50     T *pop(long total) 
     49
     50    T *pop(long total)
    5151    {
    5252        if (total > son)
     
    5959    }
    6060
    61     void clean_up() 
    62     { 
     61    void clean_up()
     62    {
    6363        if(son != 0)
    6464            fprintf(stderr, "warning: cleaning up stack and not empty\n");
    65         jfree(sdata); 
     65        jfree(sdata);
    6666        sdata = NULL;
    67         son = 0; 
     67        son = 0;
    6868    }
    6969};
Note: See TracChangeset for help on using the changeset viewer.