Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: swig/Lib/python/ccomplex.i

Issue 553095: Checkin swig binaries for win, linux and Mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « swig/Lib/python/carrays.i ('k') | swig/Lib/python/cdata.i » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* -----------------------------------------------------------------------------
2 * See the LICENSE file for information on copyright, usage and redistribution
3 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
4 *
5 * ccomplex.i
6 *
7 * C complex typemaps
8 * ISO C99: 7.3 Complex arithmetic <complex.h>
9 * ----------------------------------------------------------------------------- */
10
11
12 %include <pycomplex.swg>
13
14 %{
15 #include <complex.h>
16 %}
17
18
19 /* C complex constructor */
20 #define CCplxConst(r, i) ((r) + I*(i))
21
22 %swig_cplxflt_convn(float complex, CCplxConst, creal, cimag);
23 %swig_cplxdbl_convn(double complex, CCplxConst, creal, cimag);
24 %swig_cplxdbl_convn(complex, CCplxConst, creal, cimag);
25
26 /* declaring the typemaps */
27 %typemaps_primitive(SWIG_TYPECHECK_CPLXFLT, float complex);
28 %typemaps_primitive(SWIG_TYPECHECK_CPLXDBL, double complex);
29 %typemaps_primitive(SWIG_TYPECHECK_CPLXDBL, complex);
OLDNEW
« no previous file with comments | « swig/Lib/python/carrays.i ('k') | swig/Lib/python/cdata.i » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698