Changeset 12356


Ignore:
Timestamp:
01/10/10 14:57:39 (11 years ago)
Author:
ehuelsmann
Message:

Make LispClass?.addClass return the added class, for convenience.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/LispClass.java

    r12288 r12356  
    4040  private static final EqHashTable map = new EqHashTable(256, NIL, NIL);
    4141
    42   public static void addClass(Symbol symbol, LispClass c)
     42  public static LispClass addClass(Symbol symbol, LispClass c)
    4343  {
    4444    synchronized (map)
     
    4646        map.put(symbol, c);
    4747      }
     48    return c;
    4849  }
    4950
Note: See TracChangeset for help on using the changeset viewer.