[PHP] Fix typemap_namespace.i to not try to copy a non-existent typemap.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2008-06-24 00:33:08 +00:00
commit 5ea3e69bef
2 changed files with 5 additions and 1 deletions

View file

@ -27,7 +27,7 @@ namespace Foo {
%typemap(javaout) Str1 * = char *;
#endif
%typemap(in) Str1 * = char *;
#if !(defined(SWIGCSHARP) || defined(SWIGLUA))
#if !(defined(SWIGCSHARP) || defined(SWIGLUA) || defined(SWIGPHP))
%typemap(freearg) Str1 * = char *;
#endif
%typemap(typecheck) Str1 * = char *;