Branch: Tag:

2007-05-02

2007-05-02 17:43:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Changed implementation and syntax for the subtypes for strings. push_string_type() is no more.

Rev: lib/modules/Getopt.pmod:1.32
Rev: src/encode.c:1.242
Rev: src/language.yacc:1.374
Rev: src/modules/sprintf/sprintf.c:1.144
Rev: src/pike_types.c:1.305
Rev: src/pike_types.h:1.109
Rev: src/svalue.h:1.145

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: svalue.h,v 1.144 2007/05/01 20:08:16 nilsson Exp $ + || $Id: svalue.h,v 1.145 2007/05/02 17:43:32 grubba Exp $   */      #ifndef SVALUE_H
184:   #define tProgram(X) "\005" X   #define tStr "\006"   #define tString "\006" - #define tStr0 "\357\000" - #define tStr7 "\357\007" - #define tStr8 "\357\010" - #define tStr16 "\357\020" + #define tStr0 "\357" tZero + #define tStr7 "\357" "\010\000\000\000\000\000\000\000\177" + #define tStr8 "\357" "\010\000\000\000\000\000\000\000\377" + #define tStr16 "\357" "\010\000\000\000\000\000\000\377\377"   #define tStr32 "\006"   #define tType(T) "\007" T   #define tInt "\022"