diff options
author | Brant K. Kyser <brantkyser@gmail.com> | 2013-01-18 15:06:15 -0600 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-01-19 01:27:34 +0000 |
commit | 3654031d4f273caf5cb0338192b7563318b5236b (patch) | |
tree | 965e5b28653d03784f274ecfc220130d9e429ed8 | |
parent | bda67e1d780b1d4363db058c294b5eb714f7bedd (diff) | |
download | swig-3654031d4f273caf5cb0338192b7563318b5236b.tar.gz |
Repair typo from previous commit.
-rw-r--r-- | Source/Modules/java.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 5b861ee0f..987b6ddf6 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -2027,7 +2027,7 @@ public: Printf(dcast_wrap->code, " jobject jresult = (jobject) 0;\n"); Printf(dcast_wrap->code, " %s *obj = *((%s **)&jCPtrBase);\n", norm_name, norm_name); Printf(dcast_wrap->code, " if (obj) director = dynamic_cast<Swig::Director *>(obj);\n"); - Printf(dcast_wrap->code, " if (director) jresult = director->swig_get_self);\n"); + Printf(dcast_wrap->code, " if (director) jresult = director->swig_get_self(jenv);\n"); Printf(dcast_wrap->code, " return jresult;\n"); Printf(dcast_wrap->code, "}\n"); |