Branch: Tag:

2011-10-28

2011-10-28 13:04:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Atomic megapatch: Use svalue accessor macros everywhere.

539:    for (j=0; j<args; j++)    {    int max; -  if (sp[j-args].type!=T_STRING) +  if (TYPEOF(sp[j-args]) != T_STRING)    bad_arg_error("font->write",sp-args,args,0,"",sp-args,    "Bad arguments to font->write()\n");   
761:    p_wchar1 *to_write1;    p_wchar2 *to_write2;    ptrdiff_t to_write_len; -  if (sp[j-args].type!=T_STRING) +  if (TYPEOF(sp[j-args]) != T_STRING)    bad_arg_error("font->text_extents",sp-args,args,0,"",sp-args,    "Bad arguments to font->text_extents()\n");