revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems
This commit is contained in:
@@ -13,8 +13,9 @@
|
||||
|
||||
// TODO(user): Refactor this file to adhere to the SWIG style guide.
|
||||
|
||||
%include <stdint.i>
|
||||
%include <std_vector.i>
|
||||
%include "enums.swg"
|
||||
%include "stdint.i"
|
||||
%include "std_vector.i"
|
||||
|
||||
%include "ortools/base/base.i"
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
//
|
||||
// TODO(user): test all lines marked "untested".
|
||||
|
||||
%include <enums.swg>
|
||||
%include <stdint.i>
|
||||
%include "enums.swg"
|
||||
%include "stdint.i"
|
||||
|
||||
%include "ortools/base/base.i"
|
||||
%import "ortools/util/java/vector.i"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
// - examples/python/knapsack.py
|
||||
// - ./pywrapknapsack_solver_test.py
|
||||
|
||||
%include <stdint.i>
|
||||
%include "stdint.i"
|
||||
|
||||
%include "ortools/base/base.i"
|
||||
%import "ortools/util/python/vector.i"
|
||||
|
||||
Reference in New Issue
Block a user