netinfo.i: fix incorrect position of a declaration, that was not taken in account.

Fixes: lp:1544750
https://bugs.launchpad.net/kicad/+bug/1544750
This commit is contained in:
jean-pierre charras 2018-05-24 09:43:04 +02:00
parent 8f5cb32598
commit 6090f9001e
1 changed files with 2 additions and 2 deletions

View File

@ -2,14 +2,14 @@
%warnfilter(325) NETINFO_MAPPING::iterator; %warnfilter(325) NETINFO_MAPPING::iterator;
%ignore NETINFO_MAPPING; // no code generation for this class %ignore NETINFO_MAPPING; // no code generation for this class
%feature("notabstract") NETINFO_ITEM;
%include netinfo.h %include netinfo.h
%{ %{
#include <netinfo.h> #include <netinfo.h>
%} %}
%feature("notabstract") NETINFO_ITEM;
// http://swig.10945.n7.nabble.com/std-containers-and-pointers-td3728.html // http://swig.10945.n7.nabble.com/std-containers-and-pointers-td3728.html
%{ %{
namespace swig { namespace swig {