Instead, manage all reference counting from ltl::formula. It ridance of virtual calls to clone() and destroy() easily compensate the extra test in destroy() to not delete constant nodes. * src/ltlast/refformula.cc, src/ltlast/refformula.hh: Delete. * src/ltlast/Makefile.am, wrap/python/spot.i: Adjust. * src/ltlast/atomic_prop.cc, src/ltlast/atomic_prop.hh, src/ltlast/binop.cc, src/ltlast/binop.hh, src/ltlast/bunop.cc, src/ltlast/bunop.hh, src/ltlast/formula.cc, src/ltlast/formula.hh, src/ltlast/multop.cc, src/ltlast/multop.hh, src/ltlast/unop.cc, src/ltlast/unop.hh: Ajust the reference counting code.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
## -*- coding: utf-8 -*-
|
|
## Copyright (C) 2009, 2010, 2011, 2013, 2014 Laboratoire de Recherche
|
|
## et Développement de l'Epita (LRDE).
|
|
## Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
|
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
|
## et Marie Curie.
|
|
##
|
|
## This file is part of Spot, a model checking library.
|
|
##
|
|
## Spot is free software; you can redistribute it and/or modify it
|
|
## under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 3 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## Spot is distributed in the hope that it will be useful, but WITHOUT
|
|
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
## License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. \
|
|
-I$(top_builddir)/lib -I$(top_srcdir)/lib
|
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
|
|
|
ltlastdir = $(pkgincludedir)/ltlast
|
|
|
|
ltlast_HEADERS = \
|
|
allnodes.hh \
|
|
atomic_prop.hh \
|
|
binop.hh \
|
|
bunop.hh \
|
|
constant.hh \
|
|
formula.hh \
|
|
multop.hh \
|
|
predecl.hh \
|
|
unop.hh \
|
|
visitor.hh
|
|
|
|
noinst_LTLIBRARIES = libltlast.la
|
|
libltlast_la_SOURCES = \
|
|
atomic_prop.cc \
|
|
binop.cc \
|
|
bunop.cc \
|
|
constant.cc \
|
|
formula.cc \
|
|
multop.cc \
|
|
unop.cc
|