__cpluscplus typo fix

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-09-23 21:23:09 +00:00
commit a0cdda2db9
2 changed files with 3 additions and 3 deletions

View file

@ -167,7 +167,7 @@
SWIG_fail;
}
$2 = ($2_ltype) temp;
#ifdef __cpluscplus
#ifdef __cplusplus
$1 = ($1_ltype) new char[$2+1];
#else
$1 = ($1_ltype) malloc($2+1);
@ -204,7 +204,7 @@
if (Tcl_GetLongFromObj(interp,$input,&n) != TCL_OK) {
SWIG_fail;
}
#ifdef __cpluscplus
#ifdef __cplusplus
$1 = ($1_ltype) new char[n+1];
$2 = ($2_ltype) new $*1_ltype;
#else

View file

@ -44,7 +44,7 @@ short InstallConsole _ANSI_ARGS_((short fd));
*----------------------------------------------------------------------
*/
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C"
#endif
extern int