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

« back to all changes in this revision

Viewing changes to Examples/test-suite/director_string.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:
26
26
  { return get(0); }
27
27
  
28
28
  virtual const std::string& get(int n) const
29
 
  { return m_strings.at(n); }
 
29
  { return m_strings[n]; }
 
30
 
 
31
  virtual const std::string& call_get_first() const
 
32
  { return get_first(); }
 
33
 
 
34
  virtual const std::string& call_get(int n) const
 
35
  { return get(n); }
30
36
 
31
37
  std::vector<std::string> m_strings;
 
38
 
 
39
 
 
40
  virtual void process_text(const char *text) 
 
41
  {
 
42
  }
 
43
 
 
44
  void call_process_func() { process_text("hello"); }
32
45
 };
33
46
 
34
47
 %}