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

« back to all changes in this revision

Viewing changes to Lib/php/php.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:
266
266
              size_t,
267
267
              enum SWIGTYPE
268
268
{
269
 
  ZVAL_LONG($input,$1_name);
 
269
  ZVAL_LONG($input,$1);
270
270
}
271
271
 
272
272
%typemap(out) bool
281
281
 
282
282
%typemap(directorin) bool
283
283
{
284
 
        ZVAL_BOOL($input,($1_name)?1:0);
 
284
        ZVAL_BOOL($input,($1)?1:0);
285
285
}
286
286
 
287
287
%typemap(out) float,
299
299
%typemap(directorin) float,
300
300
                     double
301
301
{
302
 
        ZVAL_DOUBLE($input,$1_name);
 
302
        ZVAL_DOUBLE($input,$1);
303
303
}
304
304
 
305
305
%typemap(out) char
347
347
                     SWIGTYPE [],
348
348
                     SWIGTYPE &
349
349
%{
350
 
  SWIG_SetPointerZval($input, (void *)&$1_name, $1_descriptor, $owner);
 
350
  SWIG_SetPointerZval($input, (void *)&$1, $1_descriptor, ($owner)|2);
351
351
%}
352
352
 
353
353
%typemap(out, fragment="swig_php_init_member_ptr") SWIGTYPE (CLASS::*)
390
390
 
391
391
%typemap(directorin) SWIGTYPE
392
392
{
393
 
  SWIG_SetPointerZval($input, SWIG_as_voidptr(&$1_name), $&1_descriptor, 2);
 
393
  SWIG_SetPointerZval($input, SWIG_as_voidptr(&$1), $&1_descriptor, 2);
394
394
}
395
395
 
396
396
%typemap(out) void "";