Use -fvisibility=hidden in src/kripke/, src/saba/, and src/sabaalgos/

* src/kripke/Makefile.am, src/saba/Makefile.am,
src/sabaalgos/Makefile.am: Use $(VISIBILITY_CXXFLAGS).
* src/kripke/fairkripke.hh, src/kripke/kripke.hh,
src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.hh,
src/saba/explicitstateconjunction.hh, src/saba/saba.hh,
src/saba/sabacomplementtgba.hh, src/saba/sabastate.hh,
src/saba/sabasucciter.hh, src/sabaalgos/sabadotty.hh,
src/sabaalgos/sabareachiter.hh: Mark exported symbols
with SPOT_API.
This commit is contained in:
Alexandre Duret-Lutz 2013-06-26 23:09:53 +02:00
parent a12922b331
commit dab51a9dd0
14 changed files with 69 additions and 48 deletions

View file

@ -1,5 +1,6 @@
## Copyright (C) 2009, 2011 Laboratoire de Recherche et Développement
## de l'Epita (LRDE).
## -*- coding: utf-8 -*-
## Copyright (C) 2009, 2011, 2013 Laboratoire de Recherche et
## Développement de l'Epita (LRDE).
##
## This file is part of Spot, a model checking library.
##
@ -17,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)
sabaalgosdir = $(pkgincludedir)/sabaalgos

View file

@ -1,4 +1,5 @@
// Copyright (C) 2009 Laboratoire de Recherche et Développement
// -*- coding: utf-8 -*-
// Copyright (C) 2009, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
@ -19,6 +20,7 @@
#ifndef SPOT_SABAALGOS_SABADOTTY_HH
# define SPOT_SABAALGOS_SABADOTTY_HH
#include "misc/common.hh"
#include <iosfwd>
namespace spot
@ -27,7 +29,7 @@ namespace spot
/// \ingroup saba_io
/// \brief Print reachable states in dot format.
std::ostream&
SPOT_API std::ostream&
saba_dotty_reachable(std::ostream& os,
const saba* g);
}

View file

@ -1,5 +1,6 @@
// Copyright (C) 2009, 2010 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// -*- coding: utf-8 -*-
// Copyright (C) 2009, 2010, 2013 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -28,7 +29,7 @@ namespace spot
{
/// \ingroup saba_generic
/// \brief Iterate over all reachable states of a spot::saba.
class saba_reachable_iterator
class SPOT_API saba_reachable_iterator
{
public:
saba_reachable_iterator(const saba* a);
@ -115,7 +116,8 @@ namespace spot
/// \ingroup saba_generic
/// \brief An implementation of spot::saba_reachable_iterator that browses
/// states depth first.
class saba_reachable_iterator_depth_first : public saba_reachable_iterator
class SPOT_API saba_reachable_iterator_depth_first:
public saba_reachable_iterator
{
public:
saba_reachable_iterator_depth_first(const saba* a);
@ -130,7 +132,8 @@ namespace spot
/// \ingroup saba_generic
/// \brief An implementation of spot::saba_reachable_iterator that browses
/// states breadth first.
class saba_reachable_iterator_breadth_first : public saba_reachable_iterator
class SPOT_API saba_reachable_iterator_breadth_first:
public saba_reachable_iterator
{
public:
saba_reachable_iterator_breadth_first(const saba* a);