memory.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the w64 mingw-runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER within this package.
  5. */
  6. #ifndef _INC_MEMORY
  7. #define _INC_MEMORY
  8. #include <_mingw.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #ifndef _CONST_RETURN
  13. #define _CONST_RETURN
  14. #endif
  15. #define _WConst_return _CONST_RETURN
  16. #ifndef _CRT_MEMORY_DEFINED
  17. #define _CRT_MEMORY_DEFINED
  18. _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount);
  19. _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount);
  20. _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
  21. _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale);
  22. int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size);
  23. void *__cdecl memcpy(void *_Dst,const void *_Src,size_t _Size);
  24. void *__cdecl memset(void *_Dst,int _Val,size_t _Size);
  25. #ifndef NO_OLDNAMES
  26. void *__cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size);
  27. int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
  28. #endif
  29. #endif
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif