Use -fvisibility=hidden in src/ltlast/, src/ltlvisit/, and src/ltlenv/.
* src/ltlast/Makefile.am, src/ltlenv/Makefile.am, src/ltlvisit/Makefile.am: Use $(VISIBILITY_CXXFLAGS). * src/misc/common.hh (SPOT_DEPRECATED): New macro. * src/ltlast/atomic_prop.hh, src/ltlast/automatop.hh, src/ltlast/binop.hh, src/ltlast/bunop.hh, src/ltlast/constant.hh, src/ltlast/formula.hh, src/ltlast/formula_tree.hh, src/ltlast/multop.hh, src/ltlast/nfa.hh, src/ltlast/refformula.hh, src/ltlast/unop.hh, src/ltlast/visitor.hh, src/ltlenv/declenv.hh, src/ltlenv/defaultenv.hh, src/ltlvisit/apcollect.hh, src/ltlvisit/clone.hh, src/ltlvisit/contain.hh, src/ltlvisit/destroy.hh, src/ltlvisit/dotty.hh, src/ltlvisit/dump.hh, src/ltlvisit/lbt.hh, src/ltlvisit/length.hh, src/ltlvisit/lunabbrev.hh, src/ltlvisit/nenoform.hh, src/ltlvisit/postfix.hh, src/ltlvisit/randomltl.hh, src/ltlvisit/reduce.hh, src/ltlvisit/relabel.hh, src/ltlvisit/remove_x.hh, src/ltlvisit/simpfg.hh, src/ltlvisit/simplify.hh, src/ltlvisit/snf.hh, src/ltlvisit/tostring.hh, src/ltlvisit/tunabbrev.hh, src/ltlvisit/wmunabbrev.hh: Add SPOT_API in fron of exported symbols. * src/ltlvisit/nenoform.cc, src/ltlvisit/remove_x.cc: Add missing include of the corresponding header file.
This commit is contained in:
parent
cbfbf14297
commit
8ba3e64f0a
41 changed files with 180 additions and 157 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2009, 2010, 2012 Laboratoire de Recherche et
|
||||
// Copyright (C) 2009, 2010, 2012, 2013 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -37,7 +37,7 @@ namespace spot
|
|||
/// to derive from it and override part of its methods.
|
||||
/// But if you just want the functionality, consider using
|
||||
/// spot::ltl::formula::clone instead, it is way faster.
|
||||
class clone_visitor : public visitor
|
||||
class SPOT_API clone_visitor : public visitor
|
||||
{
|
||||
public:
|
||||
clone_visitor();
|
||||
|
|
@ -59,17 +59,11 @@ namespace spot
|
|||
const formula* result_;
|
||||
};
|
||||
|
||||
#if __GNUC__
|
||||
/// \ingroup ltl_essential
|
||||
/// \brief Clone a formula.
|
||||
/// \deprecated Use f->clone() instead.
|
||||
SPOT_API SPOT_DEPRECATED
|
||||
const formula* clone(const formula* f) __attribute__ ((deprecated));
|
||||
#else
|
||||
/// \ingroup ltl_essential
|
||||
/// \brief Clone a formula.
|
||||
/// \deprecated Use f->clone() instead.
|
||||
const formula* clone(const formula* f);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue