Skip to content

Commit

Permalink
fix for c# with swig version 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Jan 21, 2025
1 parent e5e3fa3 commit ed0964f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/yarp.i
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,11 @@ MAKE_COMMS(Bottle)
%include "matlab/vectors_fromTo_matlab.i"
#endif

#if SWIG_VERSION < 0x040201
#if defined(SWIGCSHARP)
SWIG_STD_VECTOR_SPECIALIZE_MINIMUM(Pid,yarp::dev::Pid)
#endif
#endif
%template(PidVector) std::vector<yarp::dev::Pid>;

//////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit ed0964f

Please sign in to comment.