Changeset: 570bcc06a91e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/570bcc06a91e Modified Files: gdk/gdk.h Branch: no_type_bat Log Message:
Layout. diffs (83 lines): diff --git a/gdk/gdk.h b/gdk/gdk.h --- a/gdk/gdk.h +++ b/gdk/gdk.h @@ -2562,56 +2562,56 @@ gdk_export size_t sa_size( allocator *sa #if !defined(NDEBUG) && !defined(__COVERITY__) && defined(__GNUC__) #define sa_alloc(sa, sz) \ ({ \ - allocator *_sa = (sa); \ + allocator *_sa = (sa); \ size_t _sz = (sz); \ void *_res = sa_alloc(_sa, _sz); \ TRC_DEBUG(ALLOC, \ "sa_alloc(%p,%zu) -> %p\n", \ - _sa, _sz, _res); \ + _sa, _sz, _res); \ _res; \ }) #define sa_zalloc(sa, sz) \ ({ \ - allocator *_sa = (sa); \ + allocator *_sa = (sa); \ size_t _sz = (sz); \ void *_res = sa_zalloc(_sa, _sz); \ TRC_DEBUG(ALLOC, \ "sa_zalloc(%p,%zu) -> %p\n", \ - _sa, _sz, _res); \ + _sa, _sz, _res); \ _res; \ }) #define sa_realloc(sa, ptr, sz, osz) \ ({ \ - allocator *_sa = (sa); \ + allocator *_sa = (sa); \ void *_ptr = (ptr); \ size_t _sz = (sz); \ size_t _osz = (osz); \ void *_res = sa_realloc(_sa, _ptr, _sz, _osz); \ - TRC_DEBUG(ALLOC, \ + TRC_DEBUG(ALLOC, \ "sa_realloc(%p,%p,%zu,%zu) -> %p\n", \ _sa, _ptr, _sz, _osz, _res); \ _res; \ }) -#define sa_strdup(sa, s) \ - ({ \ - allocator *_sa = (sa); \ - const char *_s = (s); \ - char *_res = sa_strdup(_sa, _s); \ - TRC_DEBUG(ALLOC, \ +#define sa_strdup(sa, s) \ + ({ \ + allocator *_sa = (sa); \ + const char *_s = (s); \ + char *_res = sa_strdup(_sa, _s); \ + TRC_DEBUG(ALLOC, \ "sa_strdup(%p,len=%zu) -> %p\n", \ - _sa, strlen(_s), _res); \ - _res; \ + _sa, strlen(_s), _res); \ + _res; \ }) -#define sa_strndup(sa, s, l) \ - ({ \ - allocator *_sa = (sa); \ - const char *_s = (s); \ - size_t _l = (l); \ - char *_res = sa_strndup(_sa, _s, _l); \ - TRC_DEBUG(ALLOC, \ +#define sa_strndup(sa, s, l) \ + ({ \ + allocator *_sa = (sa); \ + const char *_s = (s); \ + size_t _l = (l); \ + char *_res = sa_strndup(_sa, _s, _l); \ + TRC_DEBUG(ALLOC, \ "sa_strndup(%p,len=%zu) -> %p\n", \ - _sa, _l, _res); \ - _res; \ + _sa, _l, _res); \ + _res; \ }) #endif _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org