suppress compiler warns and more cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
459e527647
commit
e0e8157d0b
6 changed files with 195 additions and 216 deletions
|
|
@ -103,10 +103,11 @@
|
|||
%{
|
||||
namespace swigpy {
|
||||
template <class PySeq, class Seq>
|
||||
void assign(const PySeq& pyseq, Seq* seq) {
|
||||
inline void
|
||||
assign(const PySeq& pyseq, Seq* seq) {
|
||||
seq->assign(pyseq.begin(), pyseq.end());
|
||||
}
|
||||
|
||||
|
||||
template <class Seq, class T = typename Seq::value_type >
|
||||
struct traits_asptr_stdseq {
|
||||
typedef Seq sequence;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue