diff options
author | Karl Williamson <khw@cpan.org> | 2018-01-16 16:55:07 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-17 12:50:25 -0700 |
commit | bdd1531dd1b6b698eaa4f6ba684bfd398f5800ef (patch) | |
tree | 9c737f5f3863029ee651b0ecf99f82535f3e3898 /handy.h | |
parent | b3b93dfe6ca804dfa40f397bc1d97b5fb3aff0b6 (diff) | |
download | perl-bdd1531dd1b6b698eaa4f6ba684bfd398f5800ef.tar.gz |
handy.h: Add comment
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2433,6 +2433,7 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe #define Copy(s,d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), perl_assert_ptr(s), (void)memcpy((char*)(d),(const char*)(s), (n) * sizeof(t))) #define Zero(d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), (void)memzero((char*)(d), (n) * sizeof(t))) +/* Like above, but returns a pointer to 'd' */ #define MoveD(s,d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), perl_assert_ptr(s), memmove((char*)(d),(const char*)(s), (n) * sizeof(t))) #define CopyD(s,d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), perl_assert_ptr(s), memcpy((char*)(d),(const char*)(s), (n) * sizeof(t))) #define ZeroD(d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), memzero((char*)(d), (n) * sizeof(t))) |