Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include gsl_inline.h in gsl_typemaps.i #178

Merged
merged 3 commits into from
May 8, 2020

Conversation

hakonhagland
Copy link
Contributor

Note: This PR depends on #177 which should be merged first.

We need to include gsl/gsl_inline.h in gsl_typemaps.i in order to avoid swig giving syntax error when processing some other interface files.

Specifcally, by not including gsl_inline.h swig does not understand what INLINE_DECL (encountered in other include files) means and gives a syntax error.

Adds a dummy entry 2.6 to the @ver2func array in Ver2Func.pm. This is
enough to avoid "Unsupported GSL version!!" error from Build.PL. We
can in a later commit fill in more details in the @ver2func array, like
the new and deprecated functions in 2.6.
We need to include gsl/gsl_inline.h in gsl_typemaps in order to avoid
swig giving syntax error when processing some other interface files.

Specifcally, by not including gsl_inline.h swig does not understand
what INLINE_DECL (encountered in other include files) means and gives
a syntax error.
Removed backup file that was added by a mistake.
@leto leto merged commit 60291d4 into leto:master May 8, 2020
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.

None yet

2 participants