fn: sgnd_internal_call_guard
Purpose
Warn when an internal helper is called outside the framework API.
Arguments
$1— Name of the internal function.
Side effects
Prints a warning to stderr for callers outside sgnd_ and _ functions; does not block the call.
Returns
- 0 for allowed callers; the warning branch also returns successfully.
Usage
sgnd_internal_call_guard _sgnd_internal_helper
