Initialize a new write frame. * 'n' is the number of cells for the write frame. * 'from' is a pointer to the one-past-the-end of the new slice for the array of UWORDS to hold the frame's cells. * * Precondition: UWORD (from - ROUND_UWORD(n))[ROUND_UWORD(n)]; */
| 45 | * Precondition: UWORD (from - ROUND_UWORD(n))[ROUND_UWORD(n)]; |
| 46 | */ |
| 47 | static inline frameItem initWriteFrame(size_t n, UWORD* from) { |
| 48 | return (frameItem){ .edge = from - ROUND_UWORD(n), .offset = n }; |
| 49 | } |
| 50 | |
| 51 | /* Given a read frame, return the value of the cell at the cursor. |
| 52 | * |
no outgoing calls