MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | SYNOPSIS |
| 2 | int referencep(mixed arg) |
| 3 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 4 | DESCRIPTION |
| 5 | returns true if arg was passed by reference to the current |
| 6 | function, instead of the usual call-by-value. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 7 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 8 | Note that arg has to be passed by reference to the efun, |
| 9 | a.g. referencep(&x). |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 10 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame^] | 11 | SEE ALSO |
| 12 | references(LPC), bytesp(E), clonep(E), closurep(E), coroutinep(E), |
| 13 | floatp(E), intp(E), lpctypep(E), lwobjectp(E), mappingp(E), |
| 14 | objectp(E), pointerp(E), stringp(E), structp(E), symbolp(E) |