* src/function.erb.hh
(dyn::generic_fun::kind_)
(dyn::generic_fun::name_)
(dyn::generic_fun::header_paths_):
Remove const qualifiers.
---
dynamic-use-of-static-c++/ChangeLog | 10 ++++++++++
dynamic-use-of-static-c++/src/function.erb.hh | 6 +++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index d1f8345..7370546 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,15 @@
2009-11-02 Roland Levillain <roland(a)lrde.epita.fr>
+ Make dyn::generic_fun assignable to help SWIG wrap it properly.
+
+ * src/function.erb.hh
+ (dyn::generic_fun::kind_)
+ (dyn::generic_fun::name_)
+ (dyn::generic_fun::header_paths_):
+ Remove const qualifiers.
+
+2009-11-02 Roland Levillain <roland(a)lrde.epita.fr>
+
Rename test/test_olena as test/test_milena.
* test/test_olena.cc: Rename as...
diff --git a/dynamic-use-of-static-c++/src/function.erb.hh
b/dynamic-use-of-static-c++/src/function.erb.hh
index f608679..0bcda9a 100644
--- a/dynamic-use-of-static-c++/src/function.erb.hh
+++ b/dynamic-use-of-static-c++/src/function.erb.hh
@@ -33,9 +33,9 @@ namespace dyn
operator() (<%= (["const data&"] * i).join(', ') %>)
const;
<%- end -%>
- const fun_kind kind_;
- const std::string name_;
- const std::string header_paths_;
+ fun_kind kind_;
+ std::string name_;
+ std::string header_paths_;
const data* obj_ptr_;
};
--
1.6.5