XpuDisposeEmumerateXpAttributeValue(&tok_lasts);
XpuDisposeEnumerateXpAttributeValue(&tok_lasts);
int XpuCheckSupported( Display *pdpy, XPContext pcontext, XPAttributes type, const char *attribute_name, const char *query ){  char *value;  void *tok_lasts;    MAKE_STRING_WRITABLE(attribute_name);  if( attribute_name == NULL )    return(0);      value = XpGetOneAttribute(pdpy, pcontext, type, STRING_AS_WRITABLE(attribute_name));       XPU_DEBUG_ONLY(printf("XpuCheckSupported: XpGetOneAttribute(%s) returned '%s'\n", XPU_NULLXSTR(attribute_name), XPU_NULLXSTR(value)));  FREE_WRITABLE_STRING(attribute_name);    if( value != NULL )  {    const char *s;        for( s = XpuEmumerateXpAttributeValue(value, &tok_lasts) ; s != NULL ; s = XpuEmumerateXpAttributeValue(NULL, &tok_lasts) )    {      XPU_DEBUG_ONLY(printf("XpuCheckSupported: probing '%s'=='%s'\n", XPU_NULLXSTR(s), XPU_NULLXSTR(query)));      if( !strcmp(s, query) )      {        XFree(value);        XpuDisposeEmumerateXpAttributeValue(&tok_lasts);        return(1);      }      }        XpuDisposeEmumerateXpAttributeValue(&tok_lasts);    XFree(value);  }      return(0);}