Skip to content

Commit

Permalink
creall and cimagl are called from the glue layer and should match the…
Browse files Browse the repository at this point in the history
…ir C++ signatures
  • Loading branch information
yebblies committed Oct 9, 2015
1 parent 9aa6464 commit 26f6144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/complex.d
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ struct complex_t
}
}

real creall(complex_t x)
extern (C++) real creall(complex_t x)
{
return x.re;
}

real cimagl(complex_t x)
extern (C++) real cimagl(complex_t x)
{
return x.im;
}

0 comments on commit 26f6144

Please sign in to comment.