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

« back to all changes in this revision

Viewing changes to Lib/java/enumtypesafe.swg

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-12-20 14:43:24 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061220144324-bps3kb06xp5oy9w1
Tags: 1.3.31-1ubuntu1
* Merge from debian unstable, remaining changes:
  - drop support for pike
  - use php5 instead of php4
  - clean Runtime/ as well
  - force a few environment variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
%typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE &
23
23
%{ static $*1_ltype temp = ($*1_ltype)$input; 
24
 
   $1 = &temp; %}
 
24
   $result = &temp; %}
25
25
%typemap(directorin, descriptor="L$packagepath/$*javaclassname;") const enum SWIGTYPE &    "$input = (jint)$1_name;"
26
26
%typemap(javadirectorin) const enum SWIGTYPE & "$*javaclassname.swigToEnum($jniinput)"
27
27
%typemap(javadirectorout) const enum SWIGTYPE & "($javacall).swigValue()"
45
45
%typemap(in) enum SWIGTYPE  %{ $1 = ($1_ltype)$input; %}
46
46
%typemap(out) enum SWIGTYPE  %{ $result = (jint)$1; %}
47
47
 
48
 
%typemap(directorout) enum SWIGTYPE  %{ $1 = ($1_ltype)$input; %}
 
48
%typemap(directorout) enum SWIGTYPE  %{ $result = ($1_ltype)$input; %}
49
49
%typemap(directorin, descriptor="L$packagepath/$javaclassname;") enum SWIGTYPE    "$input = (jint) $1;"
50
50
%typemap(javadirectorin) enum SWIGTYPE "$javaclassname.swigToEnum($jniinput)"
51
51
%typemap(javadirectorout) enum SWIGTYPE "($javacall).swigValue()"