Skip to content

Commit

Permalink
add interface.h to pyext
Browse files Browse the repository at this point in the history
  • Loading branch information
arfeigin committed Jun 27, 2024
1 parent 67f22bd commit 8a7b203
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyext/swsscommon.i
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include "zmqclient.h"
#include "zmqconsumerstatetable.h"
#include "zmqproducerstatetable.h"
#include "interface.h"
%}

%include <std_string.i>
Expand Down Expand Up @@ -271,6 +272,7 @@ T castSelectableObj(swss::Selectable *temp)
%include "zmqserver.h"
%include "zmqclient.h"
%include "zmqconsumerstatetable.h"
%include "interface.h"

%extend swss::DBConnector {
%template(hgetall) hgetall<std::map<std::string, std::string>>;
Expand All @@ -285,7 +287,7 @@ T castSelectableObj(swss::Selectable *temp)
%include "table.h"
#ifdef ENABLE_YANG_MODULES
%include "decoratortable.h"
#endif
#endif
%clear std::vector<std::string> &keys;
%clear std::vector<std::string> &ops;
%clear std::vector<std::vector<std::pair<std::string, std::string>>> &fvss;
Expand Down

0 comments on commit 8a7b203

Please sign in to comment.