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.
##
@ -18,7 +18,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
tadir = $(pkgincludedir)/ta

View file

@ -1,5 +1,6 @@
// Copyright (C) 2010, 2012 Laboratoire de Recherche et Developpement
// de l Epita (LRDE).
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2012, 2013 Laboratoire de Recherche et
// Developpement de l Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -50,7 +51,7 @@ namespace spot
/// The Testing Automata (TA) were introduced by
/// Henri Hansen, Wojciech Penczek and Antti Valmari
/// in "Stuttering-insensitive automata for on-the-fly detection of livelock
/// properties" In Proc. of FMICSÕ02, vol. 66(2) of Electronic Notes in
/// properties" In Proc. of FMICSÕ02, vol. 66(2) of Electronic Notes in
/// Theoretical Computer Science.Elsevier.
///
/// While a TGBA automaton observes the value of the atomic propositions, the
@ -74,7 +75,7 @@ namespace spot
/// obtained by querying the iterator over the successors of
/// a state.
class ta
class SPOT_API ta
{
public:

View file

@ -38,7 +38,7 @@ namespace spot
/// Explicit representation of a spot::ta.
/// \ingroup ta_representation
class ta_explicit : public ta
class SPOT_API ta_explicit : public ta
{
public:
ta_explicit(const tgba* tgba, bdd all_acceptance_conditions,
@ -146,7 +146,7 @@ namespace spot
/// states used by spot::ta_explicit.
/// \ingroup ta_representation
class state_ta_explicit : public spot::state
class SPOT_API state_ta_explicit : public spot::state
{
#ifndef SWIG
public:
@ -241,7 +241,7 @@ namespace spot
};
/// Successor iterators used by spot::ta_explicit.
class ta_explicit_succ_iterator : public ta_succ_iterator
class SPOT_API ta_explicit_succ_iterator : public ta_succ_iterator
{
public:
ta_explicit_succ_iterator(const state_ta_explicit* s);

View file

@ -31,7 +31,7 @@ namespace spot
///
/// This state is in fact a pair of state: the state from the TA
/// automaton and that of Kripke structure.
class state_ta_product : public state
class SPOT_API state_ta_product : public state
{
public:
/// \brief Constructor
@ -73,7 +73,7 @@ namespace spot
};
/// \brief Iterate over the successors of a product computed on the fly.
class ta_succ_iterator_product : public ta_succ_iterator
class SPOT_API ta_succ_iterator_product : public ta_succ_iterator
{
public:
ta_succ_iterator_product(const state_ta_product* s, const ta* t,
@ -135,7 +135,7 @@ namespace spot
/// \ingroup ta_emptiness_check
/// \brief A lazy product between a Testing automaton and a Kripke structure.
/// (States are computed on the fly.)
class ta_product : public ta
class SPOT_API ta_product: public ta
{
public:
/// \brief Constructor.
@ -208,21 +208,17 @@ namespace spot
};
class ta_succ_iterator_product_by_changeset : public ta_succ_iterator_product
class SPOT_API ta_succ_iterator_product_by_changeset :
public ta_succ_iterator_product
{
public:
ta_succ_iterator_product_by_changeset(const state_ta_product* s,
const ta* t, const kripke* k, bdd changeset);
/// \brief Move to the next successor in the kripke structure
void
next_kripke_dest();
};
const ta* t, const kripke* k,
bdd changeset);
/// \brief Move to the next successor in the Kripke structure
void next_kripke_dest();
};
}

View file

@ -1,3 +1,4 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2011, 2012, 2013 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
@ -57,7 +58,7 @@ namespace spot
/// a state.
class tgta : public tgba
class SPOT_API tgta : public tgba
{
protected:

View file

@ -1,4 +1,5 @@
// Copyright (C) 2010, 2011, 2012 Laboratoire de Recherche et
// -*- coding: utf-8 -*-
// Copyright (C) 2010, 2011, 2012, 2013 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
@ -34,7 +35,7 @@ namespace spot
/// Explicit representation of a spot::tgta.
/// \ingroup ta_representation
class tgta_explicit : public tgta
class SPOT_API tgta_explicit : public tgta
{
public:
tgta_explicit(const tgba* tgba, bdd all_acceptance_conditions,

View file

@ -1,9 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
// Copyright (C) 2011, 2012, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// Copyright (C) 2003, 2004, 2006 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.
//
@ -33,7 +30,7 @@ namespace spot
{
/// \brief A lazy product. (States are computed on the fly.)
class tgta_product : public tgba_product
class SPOT_API tgta_product : public tgba_product
{
public:
tgta_product(const kripke* left, const tgta* right);
@ -47,7 +44,7 @@ namespace spot
};
/// \brief Iterate over the successors of a product computed on the fly.
class tgta_succ_iterator_product : public tgba_succ_iterator
class SPOT_API tgta_succ_iterator_product : public tgba_succ_iterator
{
public:
tgta_succ_iterator_product(const state_product* s, const kripke* k,