Skip to content

Conversation

@Pilzschaf
Copy link

To be able to use ffx_spd in C I put the overload of the SpdSetup with fewer parameters inside a __cplusplus preprocessor block. This way it compiles correctly in C mode and C++ user can still benefit from the simpler additional Setup call.
Additionally I had to change the casting syntax at two points to the traditional C casting syntax.
This should fix compilation of ffx_spd for C compilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant