copy strings in stack from top - n up to top - 1 to buffer */
| 504 | |
| 505 | /* copy strings in stack from top - n up to top - 1 to buffer */ |
| 506 | static void copy2buff(StkId top, int n, char *buff) { |
| 507 | size_t tl = 0; /* size already copied */ |
| 508 | do { |
| 509 | size_t l = vslen(top - n); /* length of string being copied */ |
| 510 | memcpy(buff + tl, svalue(top - n), l * sizeof(char)); |
| 511 | tl += l; |
| 512 | } while (--n > 0); |
| 513 | } |
| 514 | |
| 515 | |
| 516 | /* |