diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-12-29 14:07:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-12-29 14:07:38 (GMT) |
commit | 944461f7af1995b08783dc761772908ec7c204a6 (patch) | |
tree | 21a50208c650390e9649bb0892f94bab26d5fc8f /src/common/cpp.h | |
parent | 11634a93003e7b5dd339bb52f2cde04f29f4c4e4 (diff) |
Handled Itanium demangling with C code (first part).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@361 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/common/cpp.h')
-rw-r--r-- | src/common/cpp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/cpp.h b/src/common/cpp.h index b5e09c0..a658559 100644 --- a/src/common/cpp.h +++ b/src/common/cpp.h @@ -31,6 +31,12 @@ /** + * Fournit la taille d'un tableau statique. + */ +#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) + + +/** * Détermine la taille de la plus longue chaîne de caractères * correspondant à un type donné. */ |