Skip to main content

Aliase

  • restorefunc
  • restoreclosure

Argumente

function
erforderlich
Mit einem argument die hooked closure, die aus hook records wiederhergestellt wird. Mit einem function second argument die function, die in secondFunction installiert wird.
function
Optionale closure, die mit firstFunction gepatcht wird. Dieser branch wird nur verwendet, wenn das second argument eine function ist.

Beispiel

Restore a hooked closure to its original function.