home *** CD-ROM | disk | FTP | other *** search
- /*
- "GridCopyPr.h" by Alexander M Kasprzyk
- ©1996
-
- This file is part of my CA toolkit. The GridCopy function
- allows very rapid copying from one location in memory
- to another, and was designed for use in Cellular Automata
- programs.
-
- Please feel free to contact me at:
- alex@kasprzyk.demon.co.uk
- */
-
- #ifndef _GridCopyPr_
- #define _GridCopyPr_
-
- typedef struct
- {
- #ifdef powerc
- long ndouble; // the number of doubles
- Boolean nlong; // do we have a long?
- #else
- long nlong; // the number of longs
- #endif
- Boolean nshort, // do we have a short?
- nchar; // do we have a char?
- } RBlockData, *RBlockDataPtr;
-
- void SetRBlockData ( Size, RBlockDataPtr );
- void RBlockMove ( register Ptr, register Ptr, register RBlockDataPtr );
-
- #endif