Server IP : 66.29.132.122 / Your IP : 3.133.124.123 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/layout/ |
Upload File : |
/* * * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html#License * * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved * */ #ifndef __ARRAYMEM_H #define __ARRAYMEM_H #include <stdlib.h> #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0]) #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) #define DELETE_ARRAY(array) free((void *) (array)) #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0]) #endif