Beispiel #1
0
void V8AbstractEventListener::setWeakCallback(const v8::WeakCallbackData<v8::Object, V8AbstractEventListener> &data)
{
    data.GetParameter()->m_listener.clear();
}
void CanvasRenderingContext2D::Deallocate(const v8::WeakCallbackData<v8::Object, CanvasRenderingContext2D>& data)
{
	__android_log_print(ANDROID_LOG_DEBUG, "C2D", "DEALLOCATING!");
	delete data.GetParameter();
}
void CanvasRenderingContext2D::DeallocateBuffer(const v8::WeakCallbackData<v8::ArrayBuffer, char>& data)
{
	delete[] data.GetParameter();
}
void V8NodeFilterCondition::setWeakCallback(const v8::WeakCallbackData<v8::Value, V8NodeFilterCondition>& data)
{
    data.GetParameter()->m_filter.clear();
}