diff options
author | Jonathan Beck | 2009-10-17 01:02:00 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-17 01:02:00 +0200 |
commit | e6a0149e3be353da436c9b3cbc960233c2df2076 (patch) | |
tree | 8edee157aa8def8abf8730e26ff1a91c3786e562 /swig | |
parent | 68f45cabfaf816237833c7656c72f90d0a38658f (diff) | |
download | libplist-e6a0149e3be353da436c9b3cbc960233c2df2076.tar.gz libplist-e6a0149e3be353da436c9b3cbc960233c2df2076.tar.bz2 |
Declare binary sequence in swig header.
Diffstat (limited to 'swig')
-rw-r--r-- | swig/plist.i | 4 |
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[]; |