ucx/string.h

changeset 42
ff3dd1ee7dee
parent 39
bf8ab7bb74ff
child 47
22fb97e9f58a
     1.1 --- a/ucx/string.h	Thu Oct 04 14:08:31 2012 +0200
     1.2 +++ b/ucx/string.h	Thu Oct 04 16:03:18 2012 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  
     1.5  #include <stddef.h>
     1.6  
     1.7 +/* use macros for literals only */
     1.8  #define S(s) { s, sizeof(s)-1 }
     1.9  #define ST(s) sstrn(s, sizeof(s)-1)
    1.10  

mercurial