getfunctionhash
Computes a SHA-384 content hash for a Lua function.
Use this with the Hash criterion of filtergc. The result is 96 lowercase hexadecimal digits of SHA-384 over the function's constants followed by its bytecode. It identifies function content, not the closure address.
getfunctionhash(callback: function): stringParameters
| Parameter | Type | Description |
|---|---|---|
callback | function | Lua closure to hash. |
Errors: C closures and newcclosure wrappers are rejected.
