[armedbear-cvs] r13723 - branches/1.0.x/abcl/src/org/armedbear/lisp

mevenson at common-lisp.net mevenson at common-lisp.net
Fri Jan 6 14:34:39 UTC 2012


Author: mevenson
Date: Fri Jan  6 06:34:39 2012
New Revision: 13723

Log:
backport r13705: internal Java API for looking up internal vs. external symbols.

Modified:
   branches/1.0.x/abcl/src/org/armedbear/lisp/Package.java

Modified: branches/1.0.x/abcl/src/org/armedbear/lisp/Package.java
==============================================================================
--- branches/1.0.x/abcl/src/org/armedbear/lisp/Package.java	Fri Jan  6 06:32:48 2012	(r13722)
+++ branches/1.0.x/abcl/src/org/armedbear/lisp/Package.java	Fri Jan  6 06:34:39 2012	(r13723)
@@ -209,11 +209,21 @@
         return internalSymbols.get(name.toString());
     }
 
+    public Symbol findInternalSymbol(String name)
+    {
+        return internalSymbols.get(name);
+    }
+
     public Symbol findExternalSymbol(SimpleString name)
     {
         return externalSymbols.get(name.toString());
     }
 
+    public Symbol findExternalSymbol(String name)
+    {
+        return externalSymbols.get(name);
+    }
+
     public Symbol findExternalSymbol(SimpleString name, int hash)
     {
         return externalSymbols.get(name.toString());




More information about the armedbear-cvs mailing list