Rename cabs/cimag/creal to mono_cabs/mono_cimag/mono_creal without macro to rename...
authorJay Krell <jay.krell@cornell.edu>
Wed, 3 Apr 2019 07:26:28 +0000 (00:26 -0700)
committerZoltan Varga <vargaz@gmail.com>
Wed, 3 Apr 2019 07:26:28 +0000 (03:26 -0400)
commit3020c2abedf53d3e0d57c33fc724bee1b35272c6
tree092e106b10928f0aecc798a154cab0ab45328096
parent6db04b07f30cb5175f6be0cbbd7b35e4104a2017
Rename cabs/cimag/creal to mono_cabs/mono_cimag/mono_creal without macro to rename. (mono/mono#13663)

Also make cimag/creal macros for guaranteed inlining -- instead of passing structs by value.
And add spaces before parens to follow coding convention (which is designed
to ease low tech searches for entire words).

This was agreed to when the code was first ported to C++ but got dropped.
The compromise though was to put the defines relatively late to limit their impact.

Commit migrated from https://github.com/mono/mono/commit/5ed727ed8ec595ad440c9f70a69d9bc970eccb86
src/mono/mono/metadata/threadpool-worker-default.c
src/mono/mono/utils/mono-complex.h