mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Add memmove_P, use it in String to ensure F() safety (#6514)
memmove_P is now in libc, so use it to allow WString to handle F() pointers without errors. Supercedes #6368 Fixes #6384
This commit is contained in:
committed by
GitHub
parent
990ec759f2
commit
8dd068eb40
@ -25,6 +25,7 @@ extern "C" {
|
||||
int _EXFUN(memcmp_P,(const _PTR, const _PTR, size_t));
|
||||
_PTR _EXFUN(memmem_P, (const _PTR, size_t, const _PTR, size_t));
|
||||
_PTR _EXFUN(memcpy_P,(_PTR __restrict, const _PTR __restrict, size_t));
|
||||
_PTR _EXFUN(memmove_P,(_PTR __restrict, const _PTR __restrict, size_t));
|
||||
_PTR _EXFUN(memccpy_P,(_PTR __restrict, const _PTR __restrict, int, size_t));
|
||||
_PTR _EXFUN(memchr_P,(const _PTR, int, size_t));
|
||||
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user