mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Fix extra-semicolon warnings
This commit is contained in:
1 parent
a256a92b3f
commit
6f0454e176
1 file changed
+3
-3
+3
-3
@@ -114,11 +114,11 @@ static inline Type& StructAfter(TObject &X)
|
||||
#define DEFINE_SIZE_ARRAY(size, array) \
|
||||
DEFINE_INSTANCE_ASSERTION (sizeof (*this) == (size) + VAR * sizeof (array[0])); \
|
||||
DEFINE_COMPILES_ASSERTION ((void) array[0].static_size) \
|
||||
enum { min_size = (size) }; \
|
||||
enum { min_size = (size) } \
|
||||
|
||||
#define DEFINE_SIZE_ARRAY_SIZED(size, array) \
|
||||
DEFINE_SIZE_ARRAY(size, array); \
|
||||
inline unsigned int get_size (void) const { return (size - array.min_size + array.get_size ()); }
|
||||
inline unsigned int get_size (void) const { return (size - array.min_size + array.get_size ()); } \
|
||||
DEFINE_SIZE_ARRAY(size, array)
|
||||
|
||||
#define DEFINE_SIZE_ARRAY2(size, array1, array2) \
|
||||
DEFINE_INSTANCE_ASSERTION (sizeof (*this) == (size) + sizeof (this->array1[0]) + sizeof (this->array2[0])); \
|
||||
|
||||
Reference in new issue
Block a user