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

« back to all changes in this revision

Viewing changes to Lib/typemaps/strings.swg

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-06 10:27:08 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071206102708-t37t62i45n595w0e
Tags: 1.3.33-2ubuntu1
* Merge with Debian; remaining changes:
  - Drop support for pike.
  - Use python2.5 instead of python2.4.
  - Clean Runtime/ as well.
  - Force a few environment variables.
* debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
 
237
237
 
238
238
/* ------------------------------------------------------------
239
 
 *  Fix size Character array Char[ANY] handling
 
239
 *  Fixed size Character array Char[ANY] handling
240
240
 * ------------------------------------------------------------ */
241
241
 
242
242
/*  memberin and globalin typemaps  */
354
354
%typemap(typecheck,noblock=1,precedence=StringCode,
355
355
         fragment=#SWIG_AsCharArray)  
356
356
  Char [ANY], const Char[ANY] {
357
 
  int res = SWIG_AsCharArray($input, (Char *)0, $1_dim0);
 
357
  int res = SWIG_AsCharArray($input, (Char *)0, 0);
358
358
  $1 = SWIG_CheckState(res);
359
359
}
360
360