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

« back to all changes in this revision

Viewing changes to Examples/test-suite/namespace_template.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
%warnfilter(801) vector<test4::Integer>; /* Ruby, wrong class name */
9
9
 
10
10
%{
 
11
#ifdef max
 
12
#undef max
 
13
#endif
 
14
%}
 
15
 
 
16
%{
11
17
namespace test {
12
18
   template<typename T> T max(T a, T b) { return (a > b) ? a : b; }
13
19
   template<typename T> class vector {