blob: d64cc201e51c67624f0c5ad18822b356b14280c7 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 int baseof (struct b, struct s)
3
4DESCRIPTION
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
12HISTORY
13 Introducted in LDMud 3.3.344.
14
15SEE ALSO
16 structp(E), structs(LPC)