Skip to main content

valid_bind

Discworld driver help

valid_bind

Name

valid_bind - controls the use of the bind() efun

Synopsis

int valid_bind(object binder, object old_owner, object new_owner)

Description

This routine is called with 'binder' attempts to use the bind() efun to make a function pointer which belongs to 'old_owner' belong to 'new_owner'. If this routine returns 1, the call is allowed, otherwise an error is generated.