~ubuntu-branches/ubuntu/trusty/python-enable/trusty

« back to all changes in this revision

Viewing changes to enthought/kiva/agg/src/agg_typemaps.i

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2010-02-28 14:56:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100228145636-9ghfhe3uy37tt3q6
Tags: 3.3.0-1
* New upstream release
* Bump Standards-Version to 3.8.4
* Switch to source format 3.0
* Update patches/freetype2.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
 
210
210
%typemap(argout) double *array6 {
211
211
   // Append output value $1 to $result
212
 
   int dims = 6;
213
 
   PyArrayObject* ary_obj = (PyArrayObject*) PyArray_FromDims(1,&dims,PyArray_DOUBLE);
 
212
   npy_intp dims = 6;
 
213
   PyArrayObject* ary_obj = (PyArrayObject*) PyArray_SimpleNew(1,&dims,PyArray_DOUBLE);
214
214
   if( ary_obj == NULL )
215
215
    return NULL;
216
216
   double* data = (double*)ary_obj->data;
336
336
    
337
337
    
338
338
    $1 = stops;
339
 
}
 
 
b'\\ No newline at end of file'
 
339
}