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

« back to all changes in this revision

Viewing changes to Source/Swig/tree.c

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2009-11-15 14:00:28 UTC
  • mfrom: (1.2.9 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091115140028-me7amr2rie8zz1xn
Tags: 1.3.40-2ubuntu1
* Merge from Debian testing (LP: #356529), remaining changes:
  - Drop libchicken-dev from the build-depends (it's in universe)
  - Remove Pike from package description and from configure flags
  - drop "--without-mzscheme", we don't have it in our build-depends
  - use php-config5
  - Clean Runtime/ as well.
  - debian/rules (clean): Remove Lib/ocaml/swigp4.ml.
* debian/rules: Remove hardcoded python version.
* Remove upper limit for python from Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 * parse trees.
9
9
 * ----------------------------------------------------------------------------- */
10
10
 
11
 
char cvsroot_tree_c[] = "$Id: tree.c 10193 2007-12-16 20:37:25Z wsfulton $";
 
11
char cvsroot_tree_c[] = "$Id: tree.c 11080 2009-01-24 13:15:51Z bhy $";
12
12
 
13
13
#include "swig.h"
14
14
#include <stdarg.h>
229
229
 * checkAttribute()
230
230
 * ----------------------------------------------------------------------------- */
231
231
 
232
 
int checkAttribute(Node *n, const String_or_char *name, const String_or_char *value) {
 
232
int checkAttribute(Node *n, const_String_or_char_ptr name, const_String_or_char_ptr value) {
233
233
  String *v = Getattr(n, name);
234
234
  return v ? Equal(v, value) : 0;
235
235
}