524
495
#define MY_ALIGN(A,L) (((A) + (L) - 1) & ~((L) - 1))
525
496
#define ALIGN_SIZE(A) MY_ALIGN((A),sizeof(double))
531
498
#define ADD_TO_PTR(ptr,size,type) (type) (reinterpret_cast<const unsigned char*>(ptr)+size)
534
500
#define ADD_TO_PTR(ptr,size,type) (type) ((unsigned char*) (ptr)+size)
538
503
#define MY_DIV_UP(A, B) (((A) + (B) - 1) / (B))