Branch: Tag:

2018-04-21

2018-04-21 14:48:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added utf8_string/tUtf8Str.

This type is intended to be used to make it clearer in APIs whether
strings are binary, wide, or contain data encoded with UTF-8.

2960:    low_add_constant("__placeholder_object", &s);    }    +  { +  struct pike_string *attr; +  struct svalue s; +  MAKE_CONST_STRING(attr, "utf8_string"); +  SET_SVAL(s, T_TYPE, 0, type, utf8_type_string); +  low_add_efun(attr, &s); +  } +     exit_compiler();   }