pike.git / src / pike_memory.h

version» Context lines:

pike.git/src/pike_memory.h:237: Inside #if (defined(__i386__) || defined(__amd64__)) && defined(__GNUC__)
  #if (defined(__i386__) || defined(__amd64__)) && defined(__GNUC__)   extern PMOD_EXPORT   #ifdef __i386__   ATTRIBUTE((fastcall))   #endif   size_t (*low_hashmem)(const void *, size_t, size_t, size_t);   #else   PMOD_EXPORT size_t low_hashmem(const void *, size_t len, size_t mlen, size_t key) ATTRIBUTE((pure));   #endif   PMOD_EXPORT size_t hashmem(const void *, size_t len, size_t mlen) ATTRIBUTE((pure)); - /* - PMOD_EXPORT void memfill(char *to, -  INT32 tolen, -  char *from, -  INT32 fromlen, -  INT32 offset); - */ +    #define MALLOC_FUNCTION ATTRIBUTE((malloc)) PIKE_WARN_UNUSED_RESULT_ATTRIBUTE      PMOD_EXPORT void *debug_xalloc(size_t size) MALLOC_FUNCTION;   PMOD_EXPORT void *debug_xmalloc(size_t s) MALLOC_FUNCTION;   PMOD_EXPORT void debug_xfree(void *mem);   PMOD_EXPORT void *debug_xrealloc(void *m, size_t s) MALLOC_FUNCTION;   PMOD_EXPORT void *debug_xcalloc(size_t n, size_t s) MALLOC_FUNCTION;   PMOD_EXPORT void *xalloc_aligned(size_t size, size_t alignment) MALLOC_FUNCTION;      #define PIKE_ALIGNTO(x, a) (((x) + (a)-1) & ~((a)-1))