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

« back to all changes in this revision

Viewing changes to Lib/r/rtype.swg

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-10 16:29:56 UTC
  • mfrom: (1.2.8 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081110162956-xue6itkuqhbza87s
Tags: 1.3.36-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop pike and libchicken-dev from the build-depends 
    (both are universe)
  - Use python2.5 instead of python2.4.
  - use php5
  - Clean Runtime/ as well.
  - debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.
  - drop "--without-mzscheme", we don't have it in our build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
%typemap(scoercein) unsigned int, unsigned int *, unsigned int &
46
46
  %{  $input = as($input, "integer");     %}
47
47
%typemap(scoercein) double, double *, double &
48
 
  %{  $input = as($input, "numeric");     %}
 
48
  %{ %}
49
49
%typemap(scoercein) float, float *, float &
50
 
  %{  $input = as($input, "numeric");     %}
 
50
  %{ %}
51
51
%typemap(scoercein) char, char *, char &
52
52
  %{  $input = as($input, "character");     %}
53
53
%typemap(scoercein) string, string *, string &
61
61
%typemap(scoercein) enum SWIGTYPE *
62
62
  %{  $input = enumToInteger($input, "$R_class") %}
63
63
 
 
64
 
 
65
%typemap(scoercein) SWIGTYPE, SWIGTYPE *, SWIGTYPE &  
 
66
  %{ %}
 
67
 
 
68
/*
64
69
%typemap(scoercein) SWIGTYPE * 
65
70
  %{ $input = coerceIfNotSubclass($input, "$R_class") %}
66
71
 
69
74
 
70
75
%typemap(scoercein) SWIGTYPE  
71
76
  %{ $input = coerceIfNotSubclass($input, "$&R_class") %}
72
 
 
 
77
*/
73
78
 
74
79
%typemap(scoercein) SWIGTYPE[ANY]  
75
80
 %{
82
87
 
83
88
%typemap(scoercein) bool, bool *, bool & 
84
89
                    "$input = as.logical($input) ";
85
 
 
 
90
/*
86
91
%typemap(scoercein) int, 
87
92
                    int *, 
88
93
                    int &,
119
124
                    long*,
120
125
                    long long *
121
126
%{  $input = as.numeric($input) %}
122
 
 
 
127
*/
123
128
 
124
129
%typemap(scoercein) char *, string, std::string,
125
130
string &, std::string &