templates/ops.h | raw changeset files shortlog |
1.1 --- a/templates/ops.h Sat Oct 29 22:46:20 2016 +0200 1.2 +++ b/templates/ops.h Sat Oct 29 22:56:23 2016 +0200 1.3 @@ -89,6 +89,6 @@ 1.4 1.5 /* Copying of structures. */ 1.6 1.7 -#define __COPY(__SOURCE, __TARGET) (memcpy(__TARGET, __SOURCE, sizeof(__SOURCE))) 1.8 +__ref __COPY(__ref obj, int size); 1.9 1.10 #endif /* __OPS_H__ */