Perl - Fix C++ comment in C wrappers.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-12-09 17:47:12 +00:00
commit 7375731431
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 2.0.9 (in progress)
===========================
2012-12-08: wsfulton
[Perl] Fix bug #3571361 - C++ comment in C wrappers.
2012-11-28: kwwette
[Octave] Simplified module loading: now just the syntax
$ example;

View file

@ -33,7 +33,7 @@ XS(SWIG_init) {
/* Install commands */
for (i = 0; swig_commands[i].name; i++) {
// Casts only needed for Perl < 5.10.
/* Casts only needed for Perl < 5.10. */
#ifdef __cplusplus
newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
#else