NS_ASSERTION(inst != NULL, "null instance");
ns4xPluginInstance *inst = (ns4xPluginInstance *) npp->ndata;  NS_ASSERTION(inst != NULL, "null instance");
_setvalue(NPP npp, NPPVariable variable, void *result){	if(!npp)		return NPERR_INVALID_INSTANCE_ERROR;    ns4xPluginInstance *inst = (ns4xPluginInstance *) npp->ndata;    NS_ASSERTION(inst != NULL, "null instance");    if (inst == NULL)        return NPERR_INVALID_INSTANCE_ERROR;    switch (variable)    {      case NPPVpluginWindowBool:      {        NPBool bWindowless = !(*((NPBool *)result));        return inst->SetWindowless(bWindowless);      }      case NPPVpluginTransparentBool:        return inst->SetTransparent(*((NPBool *)result));      default:        return NPERR_NO_ERROR;    }#if 0    nsIPluginInstancePeer *peer;    if (NS_OK == inst->GetPeer(&peer))    {      nsresult rv;      // XXX Note that for backwards compatibility, the old NPPVariables      // map correctly to NPPluginVariables.      rv = peer->SetValue((nsPluginInstancePeerVariable)variable, result);      NS_RELEASE(peer);      return rv;    }    else      return NS_ERROR_UNEXPECTED;#endif}