Wireshark  4.3.0
The Wireshark network protocol analyzer
array.h
Go to the documentation of this file.
1 
11 #ifndef __WSUTIL_ARRAY_H__
12 #define __WSUTIL_ARRAY_H__
13 
15 #define array_length(x) (sizeof (x) / sizeof (x)[0])
16 
18 #ifndef g_ptr_array_len
19 #define g_ptr_array_len(a) ((a) ? (a)->len : 0)
20 #endif
21 
22 #endif /* __WSUTIL_ARRAY_H__ */