[sword-svn] r2765 - trunk/bindings/swig
greg.hellings at crosswire.org
greg.hellings at crosswire.org
Sun Jan 20 12:30:38 MST 2013
Author: greg.hellings
Date: 2013-01-20 12:30:38 -0700 (Sun, 20 Jan 2013)
New Revision: 2765
Added:
trunk/bindings/swig/deprecations.i
Modified:
trunk/bindings/swig/swmodule.i
trunk/bindings/swig/sword.i
Log:
Fix SWIG binding warnings in line with Troy's deprecation work.
Added: trunk/bindings/swig/deprecations.i
===================================================================
--- trunk/bindings/swig/deprecations.i (rev 0)
+++ trunk/bindings/swig/deprecations.i 2013-01-20 19:30:38 UTC (rev 2765)
@@ -0,0 +1,46 @@
+/* Methods that are deprecated in SWORD and should be ignored. */
+
+%ignore sword::SWKey::Error();
+%ignore sword::SWKey::Persist() const;
+%ignore sword::SWKey::Persist(signed char);
+
+%ignore sword::SWModule::AddEncodingFilter(SWFilter*);
+%ignore sword::SWModule::AddOptionFilter(SWOptionFilter*);
+%ignore sword::SWModule::AddRawFilter(SWFilter*);
+%ignore sword::SWModule::AddRenderFilter(SWFilter*);
+%ignore sword::SWModule::AddStripFilter(SWFilter*);
+%ignore sword::SWModule::CreateKey;
+%ignore sword::SWModule::Description;
+%ignore sword::SWModule::Direction;
+%ignore sword::SWModule::Disp;
+%ignore sword::SWModule::Display();
+%ignore sword::SWModule::Encoding;
+%ignore sword::SWModule::Error();
+%ignore sword::SWModule::getSkipConsecutiveLinks();
+%ignore sword::SWModule::Index;
+%ignore sword::SWModule::Key;
+%ignore sword::SWModule::KeyText;
+%ignore sword::SWModule::Lang;
+%ignore sword::SWModule::Markup;
+%ignore sword::SWModule::Name;
+%ignore sword::SWModule::processEntryAttributes(bool) const;
+%ignore sword::SWModule::ReplaceEncodingFilter(SWFilter*, SWFilter*);
+%ignore sword::SWModule::RemoveEncodingFilter(SWFilter*);
+%ignore sword::SWModule::ReplaceRenderFilter(SWFilter*, SWFilter*);
+%ignore sword::SWModule::RemoveRenderFilter(SWFilter*);
+%ignore sword::SWModule::SetKey;
+%ignore sword::SWModule::setKey(SWKey const &);
+%ignore sword::SWModule::Type;
+
+%ignore sword::VerseKey::AutoNormalize;
+%ignore sword::VerseKey::Book;
+%ignore sword::VerseKey::Chapter;
+%ignore sword::VerseKey::ClearBounds();
+%ignore sword::VerseKey::Headings;
+%ignore sword::VerseKey::LowerBound;
+%ignore sword::VerseKey::Normalize;
+%ignore sword::VerseKey::ParseVerseList;
+%ignore sword::VerseKey::Testament;
+%ignore sword::VerseKey::TestamentIndex() const;
+%ignore sword::VerseKey::UpperBound;
+%ignore sword::VerseKey::Verse;
Modified: trunk/bindings/swig/swmodule.i
===================================================================
--- trunk/bindings/swig/swmodule.i 2013-01-19 16:19:47 UTC (rev 2764)
+++ trunk/bindings/swig/swmodule.i 2013-01-20 19:30:38 UTC (rev 2765)
@@ -12,8 +12,6 @@
%ignore sword::SWModule::getEntryAttributes;
%ignore sword::SWModule::getConfig;
%ignore sword::SWModule::setConfig;
-%ignore sword::SWModule::SetKey(SWKey const &);
-%ignore sword::SWModule::setKey(SWKey const &);
%include "swmodule.h"
Modified: trunk/bindings/swig/sword.i
===================================================================
--- trunk/bindings/swig/sword.i 2013-01-19 16:19:47 UTC (rev 2764)
+++ trunk/bindings/swig/sword.i 2013-01-20 19:30:38 UTC (rev 2765)
@@ -6,6 +6,8 @@
/* Ignore warnings about Unknown base class */
%warnfilter(401);
+%include "deprecations.i"
+
#ifdef SWIGPYTHON
%include "directors.i"
#endif
More information about the sword-cvs
mailing list