~ubuntu-branches/ubuntu/quantal/swig2.0/quantal

« back to all changes in this revision

Viewing changes to Lib/d/denums.swg

  • Committer: Package Import Robot
  • Author(s): Stefano Rivera
  • Date: 2012-06-01 17:05:17 UTC
  • mfrom: (1.1.6) (10.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120601170517-q0ik32ij61i4r6f0
Tags: 2.0.7-2ubuntu1
* Merge from Debian unstable (LP: #1006387). Remaining changes:
  - Drop libchicken-dev from the build-depends (in universe).

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
   $1 = &temp; %}
46
46
%typemap(out) const enum SWIGTYPE & %{ $result = *$1; %}
47
47
 
48
 
%typemap(directorin) const enum SWIGTYPE & "$input = $1_name;"
 
48
%typemap(directorin) const enum SWIGTYPE & "$input = $1;"
49
49
%typemap(directorout,warning=SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG) const enum SWIGTYPE &
50
50
%{ static $*1_ltype temp = ($*1_ltype)$input;
51
51
   $result = &temp; %}