diff --git a/include/plist/plist++.h b/include/plist/plist++.h index d5eb691..0690b26 100644 --- a/include/plist/plist++.h +++ b/include/plist/plist++.h @@ -31,6 +31,7 @@ #include "Integer.h" #include "Node.h" #include "Real.h" +#include "Key.h" #include "String.h" #include "Structure.h" diff --git a/swig/plist.i b/swig/plist.i index 9551ce8..099a0cb 100644 --- a/swig/plist.i +++ b/swig/plist.i @@ -90,6 +90,9 @@ static swig_type_info *Node_dynamic(void **ptr) case PLIST_REAL: *ptr = dynamic_cast(node); return SWIGTYPE_p_PList__Real; + case PLIST_KEY: + *ptr = dynamic_cast(node); + return SWIGTYPE_p_PList__Key; case PLIST_STRING: *ptr = dynamic_cast(node); return SWIGTYPE_p_PList__String; @@ -153,6 +156,7 @@ namespace std { %include %include %include +%include %include %include %include