~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Source/Modules/php4.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 *
14
14
 */
15
15
 
16
 
char cvsroot_php4_cxx[] = "$Header: /cvsroot/swig/SWIG/Source/Modules/php4.cxx,v 1.9 2004/07/10 16:42:54 wsfulton Exp $";
 
16
char cvsroot_php4_cxx[] = "$Header: /cvsroot/swig/SWIG/Source/Modules/php4.cxx,v 1.10 2004/12/01 00:50:06 marcelomatus Exp $";
17
17
 
18
18
#include "swigmod.h"
19
19
 
383
383
      }
384
384
      
385
385
      Printf(f_extra,
386
 
             "# $Id: php4.cxx,v 1.9 2004/07/10 16:42:54 wsfulton Exp $\n\n"
 
386
             "# $Id: php4.cxx,v 1.10 2004/12/01 00:50:06 marcelomatus Exp $\n\n"
387
387
             "LTLIBRARY_NAME          = php_%s.la\n",
388
388
             module);
389
389
      
429
429
      }
430
430
      
431
431
      Printf(f_extra,
432
 
             "dnl $Id: php4.cxx,v 1.9 2004/07/10 16:42:54 wsfulton Exp $\n"
 
432
             "dnl $Id: php4.cxx,v 1.10 2004/12/01 00:50:06 marcelomatus Exp $\n"
433
433
             "dnl ***********************************************************************\n"
434
434
             "dnl ** THIS config.m4 is provided for PHPIZE and PHP's consumption NOT\n"
435
435
             "dnl ** for any part of the rest of the %s build system\n"
1405
1405
   * ------------------------------------------------------------ */
1406
1406
 
1407
1407
  virtual int classDeclaration(Node *n) {
1408
 
    String *symname = Getattr(n,"sym:name");
1409
 
    Setattr(n,"php:proxy",symname);
 
1408
    if (!Getattr(n,"feature:onlychildren")) {
 
1409
      String *symname = Getattr(n,"sym:name");
 
1410
      Setattr(n,"php:proxy",symname);
 
1411
    }
 
1412
    
1410
1413
    return Language::classDeclaration(n);
1411
1414
  }
1412
1415