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

« back to all changes in this revision

Viewing changes to Examples/java/enum/example.i

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-08-02 15:57:10 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040802155710-bm292q1d6x6tw7gc
Tags: 1.3.21-5ubuntu1
Fix linking for ruby, python, perl and tcl bindings

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include "example.h"
6
6
%}
7
7
 
8
 
%pragma make_default
 
8
/* Force the generated Java code to use the C enum values rather than making a JNI call */
 
9
%javaconst(1);
9
10
 
10
11
/* Let's just grab the original header file here */
11
12