Skip to content

Commit

Permalink
add defination of vector variables into swig file for avoiding raw swig
Browse files Browse the repository at this point in the history
wrapper files
  • Loading branch information
ZhangLe2016 committed Jan 9, 2025
1 parent 8b8c484 commit b0b6ed9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/java/commissioner.i
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
%template(ChildIpv6AddrInfoVector) std::vector<ot::commissioner::ChildIpv6AddrInfo>;
%template(ChildTableEntryVector) std::vector<ot::commissioner::ChildTableEntry>;
%template(RouteDataEntryVector) std::vector<ot::commissioner::RouteDataEntry>;
%template(HasRouteEntryVector) std::vector<ot::commissioner::HasRouteEntry>;
%template(BorderRouterEntryVector) std::vector<ot::commissioner::BorderRouterEntry>;
%template(PrefixEntryVector) std::vector<ot::commissioner::PrefixEntry>;

%typemap(jstype) std::string& OUTPUT "String[]"
%typemap(jtype) std::string& OUTPUT "String[]"
Expand Down

0 comments on commit b0b6ed9

Please sign in to comment.