mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
cb955dc9ac
commit
29f6f79e73
Notes:
git
2021-07-13 22:55:42 +09:00
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,7 @@ rb_alloc_tmp_buffer2(volatile VALUE *store, long count, size_t elsize)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
|
RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||||
RBIMPL_ATTR_NOALIAS()
|
RBIMPL_ATTR_NOALIAS()
|
||||||
RBIMPL_ATTR_NONNULL((1))
|
RBIMPL_ATTR_NONNULL((1))
|
||||||
RBIMPL_ATTR_RETURNS_NONNULL()
|
RBIMPL_ATTR_RETURNS_NONNULL()
|
||||||
|
@ -272,6 +273,7 @@ ruby_nonempty_memcpy(void *dest, const void *src, size_t n)
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
RBIMPL_SYMBOL_EXPORT_END()
|
||||||
#undef memcpy
|
#undef memcpy
|
||||||
#define memcpy ruby_nonempty_memcpy
|
#define memcpy ruby_nonempty_memcpy
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue