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

« back to all changes in this revision

Viewing changes to Examples/test-suite/enums.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:
2
2
 
3
3
%module "enums"
4
4
 
5
 
// Suppress warning messages from the Ruby module for all of the following...
 
5
/* Suppress warning messages from the Ruby module for all of the following.. */
6
6
%warnfilter(801) boo;
7
7
%warnfilter(801) hoo;
8
8
%warnfilter(801) globalinstance1;
32
32
 
33
33
enum sad { boo, hoo = 5 };
34
34
 
35
 
// Unnamed enum instance
 
35
/* Unnamed enum instance */
36
36
enum { globalinstance1, globalinstance2, globalinstance3 = 30 } GlobalInstance;
37
37
 
38
 
// Anonymous enum
 
38
/* Anonymous enum */
39
39
enum { AnonEnum1, AnonEnum2 = 100 };
40
40
 
41
41
%}