blob: cc06783312efe5cac443f87a94e7f54665c50abf [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra715ec202025-07-09 22:18:31 +02002 closure bind_lambda(closure, object|lwobject ob)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 Binds an unbound lambda closure to an object and return it.
6 The efun can also be used to rebind an efun-, simul-efun
7 or operator closure to a different object.
MG Mud User88f12472016-06-24 23:31:02 +02008
Zesstra715ec202025-07-09 22:18:31 +02009 If the optional argument ob is not this_object(), the privilege
10 violation ("bind_lambda", this_object(), ob) occurs.
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012HISTORY
13 Introduced in 3.2@82.
MG Mud User88f12472016-06-24 23:31:02 +020014
Zesstra715ec202025-07-09 22:18:31 +020015SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020016 lambda(E), unbound_lambda(E), apply(E), funcall(E), closures(LPC)