diff --git a/src/graphics/lib/compute/color/color.c b/src/graphics/lib/compute/color/color.c index 6badfe316438d7595f4d1d069e34d7ec037cde25..02278e37c4f1ec4e6166db2e95db465ee6459305 100644 --- a/src/graphics/lib/compute/color/color.c +++ b/src/graphics/lib/compute/color/color.c @@ -3,15 +3,11 @@ // found in the LICENSE file. // -// +// COLOR UTILITIES // -#include <math.h> #include "color.h" - -// -// COLOR UTILITIES -// +#include <math.h> // // CONVERT FROM 0xAARRGGBB WORD ORDER INTO f32[4] diff --git a/src/graphics/lib/compute/color/color.h b/src/graphics/lib/compute/color/color.h index 0e24366afd045f379f863585f3d75ca29dc3df06..10743b5b8c1d3dde2de94f820c8cb2cbbc16b745 100644 --- a/src/graphics/lib/compute/color/color.h +++ b/src/graphics/lib/compute/color/color.h @@ -14,6 +14,14 @@ #include <stdint.h> +// +// +// + +#ifdef __cplusplus +extern "C" { +#endif + // // CONVERT FROM 0xAARRGGBB WORD ORDER INTO f32[4] // @@ -63,3 +71,11 @@ void color_linear_lerp_rgba_f32(float rgba_m[4], // // // + +#ifdef __cplusplus +} +#endif + +// +// +// diff --git a/src/graphics/lib/compute/ts/transform_stack.h b/src/graphics/lib/compute/ts/transform_stack.h index 2afa1ee5ebad3eddc987f2cac236824b5a7306d7..949217e7ccb68093f0bbde1885f68f07604b7455 100644 --- a/src/graphics/lib/compute/ts/transform_stack.h +++ b/src/graphics/lib/compute/ts/transform_stack.h @@ -18,6 +18,14 @@ // // +#ifdef __cplusplus +extern "C" { +#endif + +// +// +// + struct ts_transform_stack; // @@ -249,3 +257,11 @@ ts_transform_stack_multiply(struct ts_transform_stack * const ts); // // // + +#ifdef __cplusplus +} +#endif + +// +// +//