More C99 complex fixes, plus Python tests

This commit is contained in:
Leo Singer 2020-06-17 13:03:17 -04:00
commit 511df0e642
7 changed files with 83 additions and 13 deletions

View file

@ -12,6 +12,7 @@
#include <complex.h>
%}
#define complex _Complex
/* C complex constructor */
#define CCplxConst(r, i) ((r) + I*(i))

View file

@ -12,6 +12,7 @@
#include <complex.h>
%}
#define complex _Complex
/* C complex constructor */
#define CCplxConst(r, i) ((r) + I*(i))