Commit 1f14105b authored by Nikias Bassen's avatar Nikias Bassen

swig: added PLIST_UID support

parent 553c3849
...@@ -94,6 +94,9 @@ static swig_type_info *Node_dynamic(void **ptr) ...@@ -94,6 +94,9 @@ static swig_type_info *Node_dynamic(void **ptr)
case PLIST_KEY: case PLIST_KEY:
*ptr = dynamic_cast<PList::Key *>(node); *ptr = dynamic_cast<PList::Key *>(node);
return SWIGTYPE_p_PList__Key; return SWIGTYPE_p_PList__Key;
case PLIST_UID:
*ptr = dynamic_cast<PList::Uid *>(node);
return SWIGTYPE_p_PList__Uid;
case PLIST_STRING: case PLIST_STRING:
*ptr = dynamic_cast<PList::String *>(node); *ptr = dynamic_cast<PList::String *>(node);
return SWIGTYPE_p_PList__String; return SWIGTYPE_p_PList__String;
...@@ -144,6 +147,8 @@ namespace std { ...@@ -144,6 +147,8 @@ namespace std {
%ignore Boolean(plist_t); %ignore Boolean(plist_t);
%ignore Integer(plist_t); %ignore Integer(plist_t);
%ignore Real(plist_t); %ignore Real(plist_t);
%ignore Key(plist_t);
%ignore Uid(plist_t);
%ignore String(plist_t); %ignore String(plist_t);
%ignore Data(plist_t); %ignore Data(plist_t);
%ignore Date(plist_t); %ignore Date(plist_t);
...@@ -158,6 +163,7 @@ namespace std { ...@@ -158,6 +163,7 @@ namespace std {
%include <plist/Integer.h> %include <plist/Integer.h>
%include <plist/Real.h> %include <plist/Real.h>
%include <plist/Key.h> %include <plist/Key.h>
%include <plist/Uid.h>
%include <plist/String.h> %include <plist/String.h>
%include <plist/Data.h> %include <plist/Data.h>
%include <plist/Date.h> %include <plist/Date.h>
...@@ -175,6 +181,7 @@ typedef enum { ...@@ -175,6 +181,7 @@ typedef enum {
PLIST_DATE, PLIST_DATE,
PLIST_DATA, PLIST_DATA,
PLIST_KEY, PLIST_KEY,
PLIST_UID,
PLIST_NONE PLIST_NONE
} plist_type; } plist_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment