Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit bf3c0e2

Browse files
committed
Remove alignas specifiers from C bindings
1 parent b69a1ff commit bf3c0e2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

c_src/klein.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ extern "C"
1313
typedef struct
1414
{
1515
/// LSB (e0, e1, e2, e3) MSB
16-
alignas(16) __m128 p0;
16+
__m128 p0;
1717
} kln_plane;
1818

1919
/// For lines, the scalar component and pseudoscalar components should be
2020
/// exactly zero.
2121
typedef struct
2222
{
2323
/// LSB (1, e12, e31, e23) MSB
24-
alignas(16) __m128 p1;
24+
__m128 p1;
2525

2626
/// LSB (e0123, e01, e02, e03) MSB
2727
__m128 p2;
@@ -32,7 +32,7 @@ extern "C"
3232
typedef struct
3333
{
3434
/// LSB (e123, e021, e013, e032) MSB
35-
alignas(16) __m128 p3;
35+
__m128 p3;
3636
} kln_direction;
3737

3838
/// The point at cartesian coordinate $(x, y, z)$ corresponds to the
@@ -42,25 +42,25 @@ extern "C"
4242
typedef struct
4343
{
4444
/// LSB (e123, e021, e013, e032) MSB
45-
alignas(16) __m128 p3;
45+
__m128 p3;
4646
} kln_point;
4747

4848
typedef struct
4949
{
5050
/// LSB (1, e12, e31, e23) MSB
51-
alignas(16) __m128 p1;
51+
__m128 p1;
5252
} kln_rotor;
5353

5454
typedef struct
5555
{
5656
/// LSB (e0123, e01, e02, e03) MSB
57-
alignas(16) __m128 p2;
57+
__m128 p2;
5858
} kln_translator;
5959

6060
typedef struct
6161
{
6262
/// LSB (1, e12, e31, e23) MSB
63-
alignas(16) __m128 p1;
63+
__m128 p1;
6464

6565
/// LSB (e0123, e01, e02, e03) MSB
6666
__m128 p2;

0 commit comments

Comments
 (0)