[asterisk-scf-commits] asterisk-scf/integration/ice.git branch "slice-plugins" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Sun Mar 13 09:11:56 CDT 2011
branch "slice-plugins" has been updated
via f4e797153083a8c7ae3acc9f42b2fbfcdde0f5e1 (commit)
from 343af66104b810d74877b5b0abfab1fdbd9ae184 (commit)
Summary of changes:
cpp/include/Slice/Plugin.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit f4e797153083a8c7ae3acc9f42b2fbfcdde0f5e1
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Sun Mar 13 09:11:34 2011 -0500
Ensure that the applyPluginsToUnit function can be found when compiled
on Windows.
diff --git a/cpp/include/Slice/Plugin.h b/cpp/include/Slice/Plugin.h
index 7d6363a..74550b3 100644
--- a/cpp/include/Slice/Plugin.h
+++ b/cpp/include/Slice/Plugin.h
@@ -3,6 +3,14 @@
#include <Slice/Parser.h>
+#ifndef SLICE_API
+# ifdef SLICE_API_EXPORTS
+# define SLICE_API ICE_DECLSPEC_EXPORT
+# else
+# define SLICE_API ICE_DECLSPEC_IMPORT
+# endif
+#endif
+
namespace Slice
{
@@ -23,7 +31,7 @@ namespace Plugin
typedef VisitorList* (*FACTORY)(Language, const StringList*);
- void applyPluginsToUnit(const std::vector<std::string>&, Language, const UnitPtr&);
+ void SLICE_API applyPluginsToUnit(const std::vector<std::string>&, Language, const UnitPtr&);
}
-----------------------------------------------------------------------
--
asterisk-scf/integration/ice.git
More information about the asterisk-scf-commits
mailing list