| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | int baseof (struct b, struct s) | ||||
| 3 | |||||
| 4 | DESCRIPTION | ||||
| 5 | Test if the type of struct <b> is a base of struct <s> (the | ||||
| 6 | values of <b> and <s> are irrelevant). Results are: | ||||
| 7 | 0: <b> is not a base of <s>, nor is <b> of equal type as <s> | ||||
| 8 | (though <s> might be a base of <b>). | ||||
| 9 | 1: <b> is a true base of <s> | ||||
| 10 | 2: <b> and <s> are the same struct type | ||||
| 11 | |||||
| 12 | HISTORY | ||||
| 13 | Introducted in LDMud 3.3.344. | ||||
| 14 | |||||
| 15 | SEE ALSO | ||||
| 16 | structp(E), structs(LPC) | ||||