ensure $symname is suitably expanded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b775891bc6
commit
d9d1a7d5c4
9 changed files with 24 additions and 1 deletions
|
|
@ -995,6 +995,9 @@ class JAVA : public Language {
|
|||
/* Substitute the cleanup code */
|
||||
Replaceall(f->code,"$cleanup",cleanup);
|
||||
|
||||
/* Substitute the function name */
|
||||
Replaceall(f->code,"$symname",symname);
|
||||
|
||||
/* Contract macro modification */
|
||||
Replaceall(f->code, "SWIG_contract_assert(", "SWIG_contract_assert($null, ");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue