--- gforth/struct.fs 2000/08/22 18:15:38 1.16 +++ gforth/struct.fs 2007/02/08 14:07:26 1.23 @@ -1,6 +1,6 @@ \ data structures (like C structs) -\ Copyright (C) 1995, 1997 Free Software Foundation, Inc. +\ Copyright (C) 1995,1997,2000,2003 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -16,7 +16,7 @@ \ You should have received a copy of the GNU General Public License \ along with this program; if not, write to the Free Software -\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. : naligned ( addr1 n -- addr2 ) \ gforth \g @var{addr2} is the aligned version of @var{addr1} with respect to the @@ -29,7 +29,7 @@ \ a field that makes no change \ to enable accessing the offset with "['] >body @" this \ is not implemented with "['] noop alias" - last @ + latest if immediate then @@ -102,7 +102,7 @@ cell% 2* 2constant double% \g similar to @code{allocate}. nip allocate ; -: %alloc ( size align -- addr ) \ gforth +: %alloc ( align size -- addr ) \ gforth \g Allocate @var{size} address units with alignment @var{align}, \g giving a data block at @var{addr}; @code{throw} an ior code \g if not successful.