HolyLib Wiki

setblocked

  debug.setblocked( function func )

Description

Marks the function to be inaccessable by any debug function & setfenv & getfenv.
This function is used internally for the FFI Scripts executed by HolyLib to prevent access to FFI functions when their disabled.

Once set this intentionally cannot be reverted.

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1function func
The function to block debug access