[gforth] / gforth / struct.fs  

gforth: gforth/struct.fs

Diff for /gforth/struct.fs between version 1.13 and 1.14

version 1.13, Tue Apr 14 16:43:07 1998 UTC version 1.14, Mon Feb 22 21:39:42 1999 UTC
Line 18 
Line 18 
 \ along with this program; if not, write to the Free Software  \ along with this program; if not, write to the Free Software
 \ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  \ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   
 : nalign ( addr1 n -- addr2 ) \ gforth  : naligned ( addr1 n -- addr2 ) \ gforth
 \g @code{addr2} is the aligned version of @code{addr1} wrt the  \g @code{addr2} is the aligned version of @code{addr1} wrt the
 \g alignment @code{n}.  \g alignment @code{n}.
  1- tuck +  swap invert and ;   1- tuck +  swap invert and ;
   
   ' naligned alias nalign \ old name, obsolete
   
 : dozerofield ( -- )  : dozerofield ( -- )
     \ a field that makes no change      \ a field that makes no change
     \ to enable accessing the offset with "['] <field> >body @" this      \ to enable accessing the offset with "['] <field> >body @" this


Generate output suitable for use with a patch program
Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help