1 diff --git a/zypp-core/onmedialocation.h b/zypp-core/onmedialocation.h
2 index 6755c45..c764a69 100644
3 --- a/zypp-core/onmedialocation.h
4 +++ b/zypp-core/onmedialocation.h
5 @@ -128,10 +128,10 @@ namespace zypp
7 /** \relates OnMediaLocation Stream output */
8 std::ostream & operator<<( std::ostream & str, const OnMediaLocation & obj );
10 +#ifndef SWIG // Swig treats it as syntax error
11 /** \relates OnMediaLocation Verbose stream output */
12 std::ostream & dumOn( std::ostream & str, const OnMediaLocation & obj );
16 ///////////////////////////////////////////////////////////////////
17 #endif // ZYPP_SOURCE_ONMEDIALOCATION_H
18 diff --git a/zypp/Patch.h b/zypp/Patch.h
19 index 9247c73..138e3a4 100644
22 @@ -107,7 +107,7 @@ namespace zypp
23 bool isCategory( const std::string & category_r ) const;
24 /** \overload taking OR'ed \ref Categories */
25 bool isCategory( Categories category_r ) const;
27 +#ifndef SWIG // Swig treats it as syntax error
28 /** \overload taking container of category strings
29 * 2nd template arg just to prevent instantiation for Category
31 @@ -118,7 +118,7 @@ namespace zypp
32 { if ( isCategory( el ) ) return true; }
37 /** Patch category as enum of wellknown categories.
38 * Unknown values are mapped to \ref CAT_OTHER.
40 @@ -144,6 +144,7 @@ namespace zypp
41 /** \overload taking OR'ed \ref SeverityFlags */
42 bool isSeverity( SeverityFlags severity_r ) const;
44 +#ifndef SWIG // Swig treats it as syntax error
45 /** \overload taking container of severity strings
46 * 2nd template arg just to prevent instantiation for SeverityFlag
48 @@ -154,6 +155,7 @@ namespace zypp
49 { if ( isSeverity( el ) ) return true; }
54 /** Severity string mapped to an enum.
55 * Unknown string values are mapped to \ref SEV_OTHER
56 diff --git a/zypp/ResPool.h b/zypp/ResPool.h
57 index 32933c9..4fddcba 100644
60 @@ -335,7 +335,9 @@ namespace zypp
61 * content changes. User code usually want's to call \ref changedPseudoInstalled
64 +#ifndef SWIG // Swig treats it as syntax error
65 EstablishedStates establishedStates() const;
68 /** Map holding pseudo installed items where current and established status differ. */
69 typedef EstablishedStates::ChangedPseudoInstalled ChangedPseudoInstalled;