… | … | ||
---|---|---|---|
396 | for (char **c = begin (); c != end (); c++) | 396 | for (char **c = begin (); c != end (); c++) |
397 | free (*c); | 397 | free (*c); |
398 | } | 398 | } |
399 | }; | 399 | }; |
400 | 400 | ||
401 | // return a very temporary (and never deallocated) buffer. keep small. | ||
402 | void *rxvt_temp_buf (int len); | ||
403 | |||
404 | template<typename T> | ||
405 | inline T * | ||
406 | rxvt_temp_buf (int len) | ||
407 | { | ||
408 | return (T *)rxvt_temp_buf (len * sizeof (T)); | ||
409 | } | ||
410 | |||
401 | #endif | 411 | #endif |
402 | 412 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |