Use -fvisibility=hidden in src/ta/ and src/taalgos/.

* src/ta/Makefile.am, src/taalgos/Makefile.am: Use
$(VISIBILITY_CXXFLAGS).
* src/ta/ta.hh, src/ta/taexplicit.hh, src/ta/taproduct.hh,
src/ta/tgta.hh, src/ta/tgtaexplicit.hh, src/ta/tgtaproduct.hh,
src/taalgos/dotty.hh, src/taalgos/emptinessta.hh,
src/taalgos/minimize.hh, src/taalgos/reachiter.hh,
src/taalgos/statessetbuilder.hh, src/taalgos/stats.hh,
src/taalgos/tgba2ta.hh: Add SPOT_API in front
of all public symbols.
This commit is contained in:
Alexandre Duret-Lutz 2013-06-28 18:39:17 +02:00
parent f53328a8c7
commit cfbd31384f
15 changed files with 57 additions and 59 deletions

View file

@ -1,6 +1,6 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2010, 2012 Laboratoire de Recherche et Développement
## de l'Epita (LRDE).
## Copyright (C) 2010, 2012, 2013 Laboratoire de Recherche et
## Développement de l'Epita (LRDE).
##
## This file is part of Spot, a model checking library.et Marie Curie.
##
@ -19,7 +19,7 @@
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
taalgosdir = $(pkgincludedir)/taalgos

View file

@ -1,5 +1,6 @@
// Copyright (C) 2010 Laboratoire de Recherche et Developpement
// de l Epita (LRDE).
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -26,7 +27,7 @@ namespace spot
{
class ta;
std::ostream&
SPOT_API std::ostream&
dotty_reachable(std::ostream& os, const ta* a);
}

View file

@ -85,7 +85,7 @@ namespace spot
/// between a TA and a Kripke structure
///
/// See the paper cited above.
class ta_check : public ec_statistics
class SPOT_API ta_check : public ec_statistics
{
public:
ta_check(const ta_product* a, option_map o = option_map());

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2009, 2010, 2011, 2012 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
// Copyright (C) 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
// et Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -56,7 +56,7 @@ namespace spot
\endverbatim */
///
/// \param ta_ the TA automaton to convert into a simplified TA
ta*
SPOT_API ta*
minimize_ta(const ta* ta_);
@ -70,7 +70,7 @@ namespace spot
/// the acceptance conditions of the outgoing transitions.
///
/// \param tgta_ the TGTA automaton to convert into a simplified TGTA
tgta_explicit*
SPOT_API tgta_explicit*
minimize_tgta(const tgta_explicit* tgta_);
/// @}

View file

@ -29,7 +29,7 @@ namespace spot
{
/// \ingroup ta_generic
/// \brief Iterate over all reachable states of a spot::ta.
class ta_reachable_iterator
class SPOT_API ta_reachable_iterator
{
public:
ta_reachable_iterator(const ta* a);
@ -97,7 +97,8 @@ namespace spot
/// \ingroup ta_generic
/// \brief An implementation of spot::ta_reachable_iterator that browses
/// states depth first.
class ta_reachable_iterator_depth_first : public ta_reachable_iterator
class SPOT_API ta_reachable_iterator_depth_first
: public ta_reachable_iterator
{
public:
ta_reachable_iterator_depth_first(const ta* a);
@ -114,7 +115,8 @@ namespace spot
/// \ingroup ta_generic
/// \brief An implementation of spot::ta_reachable_iterator that browses
/// states breadth first.
class ta_reachable_iterator_breadth_first : public ta_reachable_iterator
class SPOT_API ta_reachable_iterator_breadth_first
: public ta_reachable_iterator
{
public:
ta_reachable_iterator_breadth_first(const ta* a);

View file

@ -1,4 +1,5 @@
// Copyright (C) 2010 Laboratoire de Recherche et Développement
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
@ -25,7 +26,7 @@ namespace spot
{
/// \brief Compute states set for an automaton.
std::set<const state*> get_states_set(const ta* t);
SPOT_API std::set<const state*> get_states_set(const ta* t);
/// @}
}

View file

@ -1,8 +1,6 @@
// Copyright (C) 2008 Laboratoire de Recherche et Développement
// -*- coding: utf-8 -*-
// Copyright (C) 2011, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// Copyright (C) 2004 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.
//
@ -31,7 +29,7 @@ namespace spot
/// \addtogroup ta_misc
/// @{
struct ta_statistics
struct SPOT_API ta_statistics
{
unsigned transitions;
unsigned states;
@ -41,7 +39,7 @@ namespace spot
};
/// \brief Compute statistics for an automaton.
ta_statistics stats_reachable(const ta* t);
SPOT_API ta_statistics stats_reachable(const ta* t);
/// @}
}

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2012 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// Copyright (C) 2010, 2012, 2013 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -79,7 +79,7 @@ namespace spot
///
/// \return A spot::ta_explicit that recognizes the same language as the
/// TGBA \a tgba_to_convert.
ta_explicit*
SPOT_API ta_explicit*
tgba_to_ta(const tgba* tgba_to_convert, bdd atomic_propositions_set,
bool degeneralized = true, bool artificial_initial_state_mode = true,
bool single_pass_emptiness_check = false,
@ -94,7 +94,7 @@ namespace spot
///
/// \return A spot::tgta_explicit (spot::tgta) that recognizes the same
/// language as the TGBA \a tgba_to_convert.
tgta_explicit*
SPOT_API tgta_explicit*
tgba_to_tgta(const tgba* tgba_to_convert, bdd atomic_propositions_set);
}