diff options
author | Zachary Hensley <zachary.hensley@siriusxm.com> | 2019-02-21 09:24:10 -0600 |
---|---|---|
committer | Zachary Hensley <zachary.hensley@siriusxm.com> | 2019-02-21 09:24:41 -0600 |
commit | 1e571417b69df15dc928e2e39b2b404773c3386f (patch) | |
tree | a100d08309d05cef7c25bb7b6d01955fd59a4790 /Lib | |
parent | 32b963ef1caccf7bc941e16c9a6fc7abe8c8fd8d (diff) | |
download | swig-1e571417b69df15dc928e2e39b2b404773c3386f.tar.gz |
Updated java std_map to support Obj derivatives by importing original for use in class
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/java/std_map.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/java/std_map.i b/Lib/java/std_map.i index 4b891e74a..a7202bc06 100644 --- a/Lib/java/std_map.i +++ b/Lib/java/std_map.i @@ -51,6 +51,9 @@ template<class K, class T, class C = std::less< K> > class map { %typemap(javabase) std::map< K, T, C > "java.util.AbstractMap<$typemap(jboxtype, K), $typemap(jboxtype, T)>" +%typemap(javaimports) std::map< K, T, C > + "import java.lang.Object;" + %proxycode %{ public int size() { |