diff options
author | Nikias Bassen | 2013-03-18 01:54:23 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-03-18 01:54:23 +0100 |
commit | aea4cf6cad522946018c6df85a01dfa6c5dfde60 (patch) | |
tree | fc1c436379dd8e6c1cea296c493a49a47ddde7b5 /swig | |
parent | 32320a185e2a542fe080b4502d16b2ecd8891ba7 (diff) | |
download | libplist-aea4cf6cad522946018c6df85a01dfa6c5dfde60.tar.gz libplist-aea4cf6cad522946018c6df85a01dfa6c5dfde60.tar.bz2 |
added PLIST_KEY support to swig bindings
Diffstat (limited to 'swig')
-rw-r--r-- | swig/plist.i | 4 |
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> |