blob: f3d0f8e18178e67b0b5c4da5b131af2f33da7691 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include "symtab.h"
# STNSYMBOLS -- Return the number of symbols in the symbol table or in a
# marked segment, i.e., the number of symbols added to the table since the
# mark was made.
int procedure stnsymbols (stp, marker)
pointer stp # symbol table pointer
int marker # stmark marker or 0 for entire table
pointer mp
begin
if (marker <= 0)
return (ST_NSYMBOLS(stp))
else {
mp = ST_STABP(stp) + marker
return (ST_NSYMBOLS(stp) - M_NSYMBOLS(mp))
}
end
|