~inkscape.dev/inkscape-devlibs64/trunk

« back to all changes in this revision

Viewing changes to python/Lib/site-packages/numpy/core/include/numpy/ufuncobject.h

  • Committer: Eduard Braun
  • Date: 2016-10-22 16:51:19 UTC
  • Revision ID: eduard.braun2@gmx.de-20161022165119-9eosgy6lp8j1kzli
Update Python to version 2.7.12

Included modules:
  coverage 4.2
  lxml 3.6.4
  numpy 1.11.2
  scour 0.35
  six 1.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
/*
22
22
 * The most generic one-dimensional inner loop for
23
 
 * a standard element-wise ufunc. This typedef is also
24
 
 * more consistent with the other NumPy function pointer typedefs
25
 
 * than PyUFuncGenericFunction.
26
 
 */
27
 
typedef void (PyUFunc_StridedInnerLoopFunc)(
28
 
                char **dataptrs, npy_intp *strides,
29
 
                npy_intp count,
30
 
                NpyAuxData *innerloopdata);
31
 
 
32
 
/*
33
 
 * The most generic one-dimensional inner loop for
34
23
 * a masked standard element-wise ufunc. "Masked" here means that it skips
35
24
 * doing calculations on any items for which the maskptr array has a true
36
25
 * value.
112
101
                            PyUFuncGenericFunction *out_innerloop,
113
102
                            void **out_innerloopdata,
114
103
                            int *out_needs_api);
115
 
typedef int (PyUFunc_InnerLoopSelectionFunc)(
116
 
                            struct _tagPyUFuncObject *ufunc,
117
 
                            PyArray_Descr **dtypes,
118
 
                            npy_intp *fixed_strides,
119
 
                            PyUFunc_StridedInnerLoopFunc **out_innerloop,
120
 
                            NpyAuxData **out_innerloopdata,
121
 
                            int *out_needs_api);
122
104
typedef int (PyUFunc_MaskedInnerLoopSelectionFunc)(
123
105
                            struct _tagPyUFuncObject *ufunc,
124
106
                            PyArray_Descr **dtypes,
148
130
        /* The number of elements in 'functions' and 'data' */
149
131
        int ntypes;
150
132
 
151
 
        /* Does not appear to be used */
152
 
        int check_return;
 
133
        /* Used to be unused field 'check_return' */
 
134
        int reserved1;
153
135
 
154
136
        /* The name of the ufunc */
155
137
        const char *name;
204
186
         */
205
187
        PyUFunc_LegacyInnerLoopSelectionFunc *legacy_inner_loop_selector;
206
188
        /*
207
 
         * A function which returns an inner loop for the new mechanism
208
 
         * in NumPy 1.7 and later. If provided, this is used, otherwise
209
 
         * if NULL the legacy_inner_loop_selector is used instead.
 
189
         * This was blocked off to be the "new" inner loop selector in 1.7,
 
190
         * but this was never implemented. (This is also why the above
 
191
         * selector is called the "legacy" selector.)
210
192
         */
211
 
        PyUFunc_InnerLoopSelectionFunc *inner_loop_selector;
 
193
        void *reserved2;
212
194
        /*
213
195
         * A function which returns a masked inner loop for the ufunc.
214
196
         */