1
%% =====================================================================
2
%% This library is free software; you can redistribute it and/or modify
3
%% it under the terms of the GNU Lesser General Public License as
4
%% published by the Free Software Foundation; either version 2 of the
5
%% License, or (at your option) any later version.
7
%% This library is distributed in the hope that it will be useful, but
8
%% WITHOUT ANY WARRANTY; without even the implied warranty of
9
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
%% Lesser General Public License for more details.
12
%% You should have received a copy of the GNU Lesser General Public
13
%% License along with this library; if not, write to the Free Software
14
%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4
%% Copyright Ericsson AB 2004-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
19
19
%% @author Richard Carlsson <richardc@it.uu.se>
20
20
%% @copyright 2000-2004 Richard Carlsson
716
716
%% ---------------------------------------------------------------------
719
-record(state, {module, function :: {atom(), byte()}, names, refs, defs = []}).
719
-record(state, {module :: module(), function :: {atom(), arity()},
720
names, refs, defs = []}).
721
722
s__new(Module) ->
722
723
#state{module = Module, names = sets:new(), refs = dict:new()}.