diff options
author | Brant K. Kyser <brantkyser@gmail.com> | 2013-01-15 13:11:21 -0600 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-01-17 08:13:05 +0000 |
commit | 9318ece01ffa6d1de64e5930217ef42de24cc411 (patch) | |
tree | 60d3f828ce969388bb8a708a3a6b8ba402d12c0b | |
parent | f7e27ec7a966e05c6f8bc4336f0270f61c12b0d7 (diff) | |
download | swig-9318ece01ffa6d1de64e5930217ef42de24cc411.tar.gz |
Use NSPACE_SEPARATOR rather than literal.
-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 5cb194605..03dae577d 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -4305,7 +4305,7 @@ public: // If the namespace is multiple levels, the result of getNSpace() will have inserted // .'s to delimit namespaces, so we need to replace those with /'s - Replace(internal_classname, ".", "/", DOH_REPLACE_ANY); + Replace(internal_classname, NSPACE_SEPARATOR, "/", DOH_REPLACE_ANY); Wrapper_add_localv(w, "baseclass", "static jclass baseclass", "= 0", NIL); Printf(w->def, "void %s::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {", director_classname); |