copy strings in stack from top - n up to top - 1 to buffer */
| 458 | |
| 459 | /* copy strings in stack from top - n up to top - 1 to buffer */ |
| 460 | static void copy2buff (StkId top, int n, char *buff) { |
| 461 | size_t tl = 0; /* size already copied */ |
| 462 | do { |
| 463 | size_t l = vslen(top - n); /* length of string being copied */ |
| 464 | memcpy(buff + tl, svalue(top - n), l * sizeof(char)); |
| 465 | tl += l; |
| 466 | } while (--n > 0); |
| 467 | } |
| 468 | |
| 469 | |
| 470 | /* |