Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing typemap for all IN/OUT types #1276

Closed
Mizux opened this issue May 14, 2019 · 0 comments
Closed

Missing typemap for all IN/OUT types #1276

Mizux opened this issue May 14, 2019 · 0 comments
Assignees
Labels
Bug Lang: Java Java wrapper issue Lang: .NET .Net wrapper issue Solver: CP-SAT Solver Relates to the CP-SAT solver Solver: Routing Uses the Routing library and the original CP solver
Milestone

Comments

@Mizux
Copy link
Collaborator

Mizux commented May 14, 2019

Few .Net methods are wrapped using the default SWIG mangling SWIGTYPE_* (opaque pointer)
note: this follow #1106 (v7.0) but for v7.5

To get the list of impacted methods:

(cd ortools/gen; find . -type f \( -iname "*.cs" -or -iname "*.java" \) -not -name "*SWIGTYPE*" -exec grep -Hn --color=always "SWIGTYPE" {} \;)

To get the list of wrongly wrapped types aka SWIGTYPE* file:

(cd ortools/gen; find . -type f -name "SWIGTYPE*")

For 7.5 we should:

  • hide (i.e. %ignore) impacted methods OR
  • Fix the SWIG typemap(s)
@Mizux Mizux added Bug Lang: .NET .Net wrapper issue Solver: CP-SAT Solver Relates to the CP-SAT solver Solver: Routing Uses the Routing library and the original CP solver labels May 14, 2019
@Mizux Mizux added this to To do in Kanban 7.2 via automation May 14, 2019
@Mizux Mizux added this to the v7.2 milestone May 14, 2019
@Mizux Mizux moved this from To do to In progress in Kanban 7.2 May 14, 2019
@Mizux Mizux self-assigned this May 14, 2019
@lperron lperron removed this from the v7.2 milestone Jun 29, 2019
@lperron lperron removed this from In progress in Kanban 7.2 Jun 29, 2019
@lperron lperron added this to To do in Kanban 7.3 via automation Jun 29, 2019
@lperron lperron removed this from To do in Kanban 7.3 Jul 18, 2019
@lperron lperron added this to ToDo in Kanban 7.4 Aug 5, 2019
@lperron lperron added this to To do in Feature Requests Aug 6, 2019
@lperron lperron added this to To do in ToDo via automation Sep 7, 2019
@lperron lperron removed this from ToDo in Kanban 7.4 Sep 7, 2019
@Mizux Mizux added this to the v7.5 milestone Jan 2, 2020
@Mizux Mizux moved this from To do to In progress in ToDo Jan 13, 2020
@Mizux Mizux moved this from To do to In progress in Feature Requests Jan 13, 2020
@Mizux Mizux changed the title .Net: Missing typemap for all IN/OUT types Missing typemap for all IN/OUT types Jan 16, 2020
@Mizux Mizux added the Lang: Java Java wrapper issue label Jan 16, 2020
@Mizux Mizux closed this as completed in ff9b82d Jan 17, 2020
Mizux pushed a commit that referenced this issue Jan 17, 2020
Usually no typemap available for return type or arguments
Feature Requests automation moved this from In progress to Done Jan 17, 2020
ToDo automation moved this from In progress to Done Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Lang: Java Java wrapper issue Lang: .NET .Net wrapper issue Solver: CP-SAT Solver Relates to the CP-SAT solver Solver: Routing Uses the Routing library and the original CP solver
Projects
ToDo
  
Done
Development

No branches or pull requests

2 participants