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.

39:    if (path==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("set_search_path",sizeof(const gchar *)*a->size);    for (i=num=0; i<a->size; i++) { -  if ((ITEM(a)+i)->type!=PIKE_T_STRING) +  if (TYPEOF(ITEM(a)[i]) != PIKE_T_STRING)    continue;    path[num++]=(const gchar *)STR0((ITEM(a)+i)->u.string);    }