~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to AspectC++/tests/Bug234/mySlice.ah

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __mySlice_ah__
 
2
#define __mySlice_ah__
 
3
 
 
4
typedef int (*my_func)(int);
 
5
 
 
6
slice class mySlice {
 
7
  my_func a_func;
 
8
public:
 
9
  void set_a_func(my_func b_func) { a_func = b_func; }
 
10
  my_func get_a_func() { return a_func; }
 
11
};
 
12
 
 
13
#endif /* __mySlice_ah__ */