summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-18 01:54:23 +0100
committerGravatar Nikias Bassen2013-03-18 01:54:23 +0100
commitaea4cf6cad522946018c6df85a01dfa6c5dfde60 (patch)
treefc1c436379dd8e6c1cea296c493a49a47ddde7b5 /swig
parent32320a185e2a542fe080b4502d16b2ecd8891ba7 (diff)
downloadlibplist-aea4cf6cad522946018c6df85a01dfa6c5dfde60.tar.gz
libplist-aea4cf6cad522946018c6df85a01dfa6c5dfde60.tar.bz2
added PLIST_KEY support to swig bindings
Diffstat (limited to 'swig')
-rw-r--r--swig/plist.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/swig/plist.i b/swig/plist.i
index 7755cc5..f3166e3 100644
--- a/swig/plist.i
+++ b/swig/plist.i
@@ -91,6 +91,9 @@ static swig_type_info *Node_dynamic(void **ptr)
case PLIST_REAL:
*ptr = dynamic_cast<PList::Real *>(node);
return SWIGTYPE_p_PList__Real;
+ case PLIST_KEY:
+ *ptr = dynamic_cast<PList::Key *>(node);
+ return SWIGTYPE_p_PList__Key;
case PLIST_STRING:
*ptr = dynamic_cast<PList::String *>(node);
return SWIGTYPE_p_PList__String;
@@ -154,6 +157,7 @@ namespace std {
%include <plist/Boolean.h>
%include <plist/Integer.h>
%include <plist/Real.h>
+%include <plist/Key.h>
%include <plist/String.h>
%include <plist/Data.h>
%include <plist/Date.h>