summaryrefslogtreecommitdiffstats
path: root/swig/plist.i
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-17 01:02:00 +0200
committerGravatar Jonathan Beck2009-10-17 01:02:00 +0200
commite6a0149e3be353da436c9b3cbc960233c2df2076 (patch)
tree8edee157aa8def8abf8730e26ff1a91c3786e562 /swig/plist.i
parent68f45cabfaf816237833c7656c72f90d0a38658f (diff)
downloadlibplist-e6a0149e3be353da436c9b3cbc960233c2df2076.tar.gz
libplist-e6a0149e3be353da436c9b3cbc960233c2df2076.tar.bz2
Declare binary sequence in swig header.
Diffstat (limited to 'swig/plist.i')
-rw-r--r--swig/plist.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/swig/plist.i b/swig/plist.i
index 1ab35b5..91124b2 100644
--- a/swig/plist.i
+++ b/swig/plist.i
@@ -25,6 +25,10 @@ PListNode *allocate_plist_wrapper(plist_t plist, char should_keep_plist) {
%include "stl.i"
+namespace std {
+ %template(vectorc) vector<char>;
+};
+
%rename(__assign__) *::operator=;
%rename(__getitem__) *::operator[];