diff options
author | Nikias Bassen | 2013-03-19 16:57:51 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-03-19 16:57:51 +0100 |
commit | 1f14105b2841dc73b1d459ba0b83e18785766ef8 (patch) | |
tree | 717996bd10e0d02d985f30348eed6fee05d03078 | |
parent | 553c3849207a29abd1cb58f82d5994e5cd9d1f2d (diff) | |
download | libplist-1f14105b2841dc73b1d459ba0b83e18785766ef8.tar.gz libplist-1f14105b2841dc73b1d459ba0b83e18785766ef8.tar.bz2 |
swig: added PLIST_UID support
-rw-r--r-- | swig/plist.i | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/swig/plist.i b/swig/plist.i index f3166e3..3ae3d02 100644 --- a/swig/plist.i +++ b/swig/plist.i @@ -94,6 +94,9 @@ static swig_type_info *Node_dynamic(void **ptr) case PLIST_KEY: *ptr = dynamic_cast<PList::Key *>(node); return SWIGTYPE_p_PList__Key; + case PLIST_UID: + *ptr = dynamic_cast<PList::Uid *>(node); + return SWIGTYPE_p_PList__Uid; case PLIST_STRING: *ptr = dynamic_cast<PList::String *>(node); return SWIGTYPE_p_PList__String; @@ -144,6 +147,8 @@ namespace std { %ignore Boolean(plist_t); %ignore Integer(plist_t); %ignore Real(plist_t); +%ignore Key(plist_t); +%ignore Uid(plist_t); %ignore String(plist_t); %ignore Data(plist_t); %ignore Date(plist_t); @@ -158,6 +163,7 @@ namespace std { %include <plist/Integer.h> %include <plist/Real.h> %include <plist/Key.h> +%include <plist/Uid.h> %include <plist/String.h> %include <plist/Data.h> %include <plist/Date.h> @@ -175,6 +181,7 @@ typedef enum { PLIST_DATE, PLIST_DATA, PLIST_KEY, + PLIST_UID, PLIST_NONE } plist_type; |