don't generate "abstract" member for PHP as it causes a problem with SWIG

This commit is contained in:
Frédéric Péters 2008-04-29 12:23:52 +00:00
parent e18356ab7b
commit 5bf20775f2
1 changed files with 9 additions and 0 deletions

View File

@ -26,10 +26,19 @@
%rename(IdWsf2DiscoSvcMetadata) LassoIdWsf2DiscoSvcMetadata;
#endif
typedef struct {
#ifndef SWIGPHP4
/* XXX: SWIG 1.3.31 and more fails to compile the PHP 4 binding it
generates if this * part is present */
#if !defined(SWIG_PHP_RENAMES) && !defined(SWIGCSHARP) && !defined(SWIGJAVA)
/* "abstract" is a reserved word in PHP, C# and Java. */
%rename(abstract) Abstract;
#endif
char *Abstract;
#endif /* !SWIGPHP4 */
#ifndef SWIGPHP4
%rename(providerID) ProviderID;
#endif