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

« back to all changes in this revision

Viewing changes to Examples/test-suite/python/kwargs.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:
52
52
 
53
53
%template(templatedfunction) templatedfunction<int>;
54
54
 
 
55
 
 
56
// Deafult args with references
 
57
%inline
 
58
%{
 
59
 
 
60
  typedef int size_type;
 
61
  
 
62
  struct Hello 
 
63
  {
 
64
    static const size_type hello = 3;
 
65
  };
 
66
  
 
67
  
 
68
  
 
69
  int rfoo( const size_type& x = Hello::hello, const Hello& y = Hello() )
 
70
  {
 
71
    return x;
 
72
  }
 
73
  
 
74
%}