diff options
Diffstat (limited to 'src/common/cpp.h')
-rw-r--r-- | src/common/cpp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/cpp.h b/src/common/cpp.h index 2644281..9616db3 100644 --- a/src/common/cpp.h +++ b/src/common/cpp.h @@ -43,6 +43,13 @@ /** + * Facilite la transmission d'arguement pour des fonctions + * comme strncmp() et Cie. + */ +#define SL(str) str, strlen(str) + + +/** * Détermine la taille de la plus longue chaîne de caractères * correspondant à un type donné. */ |