.Net: Fix IntTupleSet.cs

This commit is contained in:
Corentin Le Molgat
2019-05-07 11:30:43 +02:00
parent 979b8d30d3
commit d8ca1d48d3
2 changed files with 3 additions and 7 deletions

View File

@@ -28,7 +28,6 @@ using System.Collections.Generic;
%include "std_string.i"
%include "ortools/base/base.i"
%include "ortools/util/csharp/tuple_set.i"
%include "ortools/util/csharp/vector.i"
%include "ortools/util/csharp/proto.i"
@@ -146,6 +145,9 @@ VECTOR_AS_CSHARP_ARRAY(int, int, int, CpIntVector);
VECTOR_AS_CSHARP_ARRAY(int64, int64, long, CpInt64Vector);
JAGGED_MATRIX_AS_CSHARP_ARRAY(int64, int64, long, CpInt64VectorVector);
// TupleSet depends on the previous typemaps
%include "ortools/util/csharp/tuple_set.i"
// Types in Proxy class:
// Solver.cs:
// Solver::Foo($cstype $csinput, ...) {Solver_Foo_SWIG($csin, ...);}

View File

@@ -14,13 +14,7 @@
// This is the C# SWIG wrapper for ../tuple_set.h. See that file.
// TODO(user): Refactor this file to comply with the SWIG style guide.
%include "ortools/base/base.i"
%include "ortools/util/csharp/vector.i"
%{
// TODO(user): See if we really need <vector>.
#include <vector>
#include "ortools/base/integral_types.h"
#include "ortools/util/tuple_set.h"
%}