[asterisk-scf-commits] asterisk-scf/release/ice.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Sun Mar 13 09:12:06 CDT 2011
branch "master" has been updated
via 00a40f0025fbb1283d88fc9bcd1d902d08c60854 (commit)
via f4e797153083a8c7ae3acc9f42b2fbfcdde0f5e1 (commit)
from 536a226b54716758851d1a8c4c3853f7259f2f55 (commit)
Summary of changes:
cpp/include/Slice/Plugin.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 00a40f0025fbb1283d88fc9bcd1d902d08c60854
Merge: 536a226 f4e7971
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Sun Mar 13 09:12:02 2011 -0500
Merge branch 'slice-plugins'
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/release/ice.git
More information about the asterisk-scf-commits
mailing list