Changeset 4252
- Timestamp:
- 10/08/03 14:56:36 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Primitives.java
r4231 r4252 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.46 3 2003-10-06 17:15:12piso Exp $5 * $Id: Primitives.java,v 1.464 2003-10-08 14:56:36 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 1855 1855 // %set-row-major-aref array index new-value => new-value 1856 1856 private static final Primitive3 _SET_ROW_MAJOR_AREF = 1857 new Primitive3("%set-row-major-aref", PACKAGE_SYS, false) { 1857 new Primitive3("%set-row-major-aref", PACKAGE_SYS, false) 1858 { 1858 1859 public LispObject execute(LispObject first, LispObject second, 1859 1860 LispObject third) throws ConditionThrowable 1860 1861 { 1861 checkArray(first).setRowMajor(Fixnum.getValue(second), third); 1862 return third; 1862 try { 1863 ((AbstractArray)first).setRowMajor(Fixnum.getValue(second), third); 1864 return third; 1865 } 1866 catch (ClassCastException e) { 1867 throw new ConditionThrowable(new TypeError(first, "array")); 1868 } 1863 1869 } 1864 1870 };
Note: See TracChangeset
for help on using the changeset viewer.