rem: g_print ("Returning that we support iface\n");
add: D("Returning that we support iface");
context: totem_plugin_get_value (NPP instance, NPPVariable variable,		                        void *value){	TotemPlugin *plugin;	NPError err = NPERR_NO_ERROR;	printf ("plugin_get_value %d\n", variable);	switch (variable) {	case NPPVpluginNameString:		*((char **)value) = "Totem Mozilla Plugin";		break;	case NPPVpluginDescriptionString:		*((char **)value) = totem_plugin_get_description();		break;	case NPPVpluginNeedsXEmbed:		*((PRBool *)value) = PR_TRUE;		break;	case NPPVpluginScriptableIID: {		static nsIID sIID = TOTEMMOZILLASCRIPT_IID;		nsIID* ptr = (nsIID *) mozilla_functions.memalloc (sizeof (nsIID));		if (ptr) {			*ptr = sIID;			* (nsIID **) value = ptr;			g_print ("Returning that we support iface\n");		} else {			err = NPERR_OUT_OF_MEMORY_ERROR;		}		break;	}	case NPPVpluginScriptableInstance: {	        if (instance == NULL) {			err = NPERR_GENERIC_ERROR;		} else {		        plugin = (TotemPlugin *) instance->pdata;			NS_ENSURE_TRUE (plugin && plugin->iface && plugin->iface->tm, NPERR_INVALID_INSTANCE_ERROR);			plugin->iface->QueryInterface (NS_GET_IID (nsISupports),						       (void **) value);//			* (nsISupports **) value = static_cast<totemMozillaScript *>(plugin->iface);			g_print ("Returning instance %p\n", plugin->iface);		}		break;	}	default:		g_message ("unhandled variable %d", variable);		err = NPERR_INVALID_PARAM;		break;	}	return err;}