Char and unsigned-char specialization added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Luigi Ballabio 2003-11-19 08:38:27 +00:00
commit 5e161fa7cd
8 changed files with 20 additions and 1 deletions

View file

@ -895,9 +895,12 @@ namespace std {
%enddef
specialize_std_vector(bool,PyInt_Check,PyInt_AsLong,SwigInt_FromBool);
specialize_std_vector(char,PyInt_Check,PyInt_AsLong,PyInt_FromLong);
specialize_std_vector(int,PyInt_Check,PyInt_AsLong,PyInt_FromLong);
specialize_std_vector(short,PyInt_Check,PyInt_AsLong,PyInt_FromLong);
specialize_std_vector(long,PyLong_Check,PyLong_AsLong,PyLong_FromLong);
specialize_std_vector(unsigned char,PyInt_Check,\
PyInt_AsLong,PyInt_FromLong);
specialize_std_vector(unsigned int,PyInt_Check,\
PyInt_AsLong,PyInt_FromLong);
specialize_std_vector(unsigned short,PyInt_Check,\