複素数の C 構造体を引数として受理したり、戻り値として返したりする 関数は、ポインタ渡しを行うのではなく 値渡し を行うので 注意してください。これは API 全体を通して一貫しています。
typedef struct {
double real;
double imag;
} Py_complex;
| Py_complex left, Py_complex right) |
| Py_complex left, Py_complex right) |
| Py_complex complex) |
| Py_complex left, Py_complex right) |
| Py_complex dividend, Py_complex divisor) |
| Py_complex num, Py_complex exp) |
ご意見やご指摘をお寄せになりたい方は、 このドキュメントについて... をご覧ください。