~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867

« back to all changes in this revision

Viewing changes to numpy/core/src/multiarray/ucsnarrow.h

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-10-07 10:19:13 UTC
  • mfrom: (7.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20101007101913-8b1kmt8ho4upcl9s
Tags: 1:1.4.1-5
* debian/patches/10_use_local_python.org_object.inv_sphinx.diff
  - fixed small typo in description
* debian/patches/changeset_r8364.diff
  - fix memory corruption (double free); thanks to Joseph Barillari for the
    report and to Michael Gilbert for pushing resolution; Closes: #581058

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _NPY_UCSNARROW_H_
 
2
#define _NPY_UCSNARROW_H_
 
3
 
 
4
#ifdef Py_UNICODE_WIDE
 
5
#error this should not be included if Py_UNICODE_WIDE is defined
 
6
int int int;
 
7
#endif
 
8
 
 
9
NPY_NO_EXPORT int
 
10
PyUCS2Buffer_FromUCS4(Py_UNICODE *ucs2, PyArray_UCS4 *ucs4, int ucs4length);
 
11
 
 
12
NPY_NO_EXPORT int
 
13
PyUCS2Buffer_AsUCS4(Py_UNICODE *ucs2, PyArray_UCS4 *ucs4, int ucs2len, int ucs4len);
 
14
 
 
15
NPY_NO_EXPORT PyObject *
 
16
MyPyUnicode_New(int length);
 
17
 
 
18
NPY_NO_EXPORT int
 
19
MyPyUnicode_Resize(PyUnicodeObject *uni, int length);
 
20
 
 
21
#endif