Package: libprelude / 1.0.0-11.9

swig-perl-lua-comments.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: change comments after swig changes
Forwarded: no
Bug-Debian: https://bugs.debian.org/808395
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-12-20

--- a/bindings/lua/libpreludecpp-lua.i
+++ b/bindings/lua/libpreludecpp-lua.i
@@ -1,9 +1,9 @@
-# Exception map
+/* Exception map */
 %typemap(throws) Prelude::PreludeError %{
         SWIG_exception(SWIG_RuntimeError, $1.what());
 %};
 
-# Lua overloading fixes
+/* Lua overloading fixes */
 %ignore IDMEFCriteria(std::string const &);
 %ignore IDMEFValue(int8_t);
 %ignore IDMEFValue(uint8_t);
@@ -36,7 +36,7 @@
 %ignore Set(char const *, float);
 %ignore Set(char const *, std::string);
 
-# Conversion not allowed
+/* Conversion not allowed */
 %ignore *::operator =;
 
 %ignore *::operator int() const;
--- a/bindings/perl/libpreludecpp-perl.i
+++ b/bindings/perl/libpreludecpp-perl.i
@@ -1,10 +1,10 @@
-# Exception map
+/* Exception map */
 %typemap(throws) Prelude::PreludeError %{
         SWIG_exception(SWIG_RuntimeError, $1.what());
 %};
 
 
-# Conversion not allowed
+/* Conversion not allowed */
 %ignore *::operator =;
 %ignore *::operator int() const;
 %ignore *::operator long() const;