Commit aea4cf6c authored by Nikias Bassen's avatar Nikias Bassen

added PLIST_KEY support to swig bindings

parent 32320a18
...@@ -91,6 +91,9 @@ static swig_type_info *Node_dynamic(void **ptr) ...@@ -91,6 +91,9 @@ static swig_type_info *Node_dynamic(void **ptr)
case PLIST_REAL: case PLIST_REAL:
*ptr = dynamic_cast<PList::Real *>(node); *ptr = dynamic_cast<PList::Real *>(node);
return SWIGTYPE_p_PList__Real; return SWIGTYPE_p_PList__Real;
case PLIST_KEY:
*ptr = dynamic_cast<PList::Key *>(node);
return SWIGTYPE_p_PList__Key;
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;
...@@ -154,6 +157,7 @@ namespace std { ...@@ -154,6 +157,7 @@ namespace std {
%include <plist/Boolean.h> %include <plist/Boolean.h>
%include <plist/Integer.h> %include <plist/Integer.h>
%include <plist/Real.h> %include <plist/Real.h>
%include <plist/Key.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>
......
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