Junio C Hamano
8 years ago
7 changed files with 40 additions and 9 deletions
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
@@ |
||||
type T; |
||||
T *dst; |
||||
T *src; |
||||
expression n; |
||||
@@ |
||||
- memcpy(dst, src, n * sizeof(*dst)); |
||||
+ COPY_ARRAY(dst, src, n); |
||||
|
||||
@@ |
||||
type T; |
||||
T *dst; |
||||
T *src; |
||||
expression n; |
||||
@@ |
||||
- memcpy(dst, src, n * sizeof(*src)); |
||||
+ COPY_ARRAY(dst, src, n); |
||||
|
||||
@@ |
||||
type T; |
||||
T *dst; |
||||
T *src; |
||||
expression n; |
||||
@@ |
||||
- memcpy(dst, src, n * sizeof(T)); |
||||
+ COPY_ARRAY(dst, src, n); |
Loading…
Reference in new issue