diff options
| author | 2013-03-19 16:57:51 +0100 | |
|---|---|---|
| committer | 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) | |||
| 94 | case PLIST_KEY: | 94 | case PLIST_KEY: |
| 95 | *ptr = dynamic_cast<PList::Key *>(node); | 95 | *ptr = dynamic_cast<PList::Key *>(node); |
| 96 | return SWIGTYPE_p_PList__Key; | 96 | return SWIGTYPE_p_PList__Key; |
| 97 | case PLIST_UID: | ||
| 98 | *ptr = dynamic_cast<PList::Uid *>(node); | ||
| 99 | return SWIGTYPE_p_PList__Uid; | ||
| 97 | case PLIST_STRING: | 100 | case PLIST_STRING: |
| 98 | *ptr = dynamic_cast<PList::String *>(node); | 101 | *ptr = dynamic_cast<PList::String *>(node); |
| 99 | return SWIGTYPE_p_PList__String; | 102 | return SWIGTYPE_p_PList__String; |
| @@ -144,6 +147,8 @@ namespace std { | |||
| 144 | %ignore Boolean(plist_t); | 147 | %ignore Boolean(plist_t); |
| 145 | %ignore Integer(plist_t); | 148 | %ignore Integer(plist_t); |
| 146 | %ignore Real(plist_t); | 149 | %ignore Real(plist_t); |
| 150 | %ignore Key(plist_t); | ||
| 151 | %ignore Uid(plist_t); | ||
| 147 | %ignore String(plist_t); | 152 | %ignore String(plist_t); |
| 148 | %ignore Data(plist_t); | 153 | %ignore Data(plist_t); |
| 149 | %ignore Date(plist_t); | 154 | %ignore Date(plist_t); |
| @@ -158,6 +163,7 @@ namespace std { | |||
| 158 | %include <plist/Integer.h> | 163 | %include <plist/Integer.h> |
| 159 | %include <plist/Real.h> | 164 | %include <plist/Real.h> |
| 160 | %include <plist/Key.h> | 165 | %include <plist/Key.h> |
| 166 | %include <plist/Uid.h> | ||
| 161 | %include <plist/String.h> | 167 | %include <plist/String.h> |
| 162 | %include <plist/Data.h> | 168 | %include <plist/Data.h> |
| 163 | %include <plist/Date.h> | 169 | %include <plist/Date.h> |
| @@ -175,6 +181,7 @@ typedef enum { | |||
| 175 | PLIST_DATE, | 181 | PLIST_DATE, |
| 176 | PLIST_DATA, | 182 | PLIST_DATA, |
| 177 | PLIST_KEY, | 183 | PLIST_KEY, |
| 184 | PLIST_UID, | ||
| 178 | PLIST_NONE | 185 | PLIST_NONE |
| 179 | } plist_type; | 186 | } plist_type; |
| 180 | 187 | ||
