From ac7436aeb8fb8f7afb864c87a8c31607e45af0f8 Mon Sep 17 00:00:00 2001
From: ilor <kailoran@gmail.com>
Date: Thu, 26 May 2011 13:11:13 +0200
Subject: [PATCH] rename lexicons.get to lexicons.get_lexicon in swig wrappers
 since there is a warning otherwise

---
 swig/lexicons.i | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/swig/lexicons.i b/swig/lexicons.i
index a1b1c70..69a0456 100644
--- a/swig/lexicons.i
+++ b/swig/lexicons.i
@@ -28,6 +28,8 @@ namespace Wccl {
 
     /* --------------------------------------------------------------------- */
 
+
+    %rename(get_lexicon) get(const std::string&) const;
     const Lexicon& get(const std::string& name) const;
     shared_ptr<const Lexicon> get_ptr(const std::string& name) const;
 
-- 
GitLab