Skip to content

Fix signature of SBase_getNumPlugins in prototype#237

Merged
fbergmann merged 1 commit intosbmlteam:developmentfrom
giordano:mg/sbase_getnumplugins
Jun 22, 2022
Merged

Fix signature of SBase_getNumPlugins in prototype#237
fbergmann merged 1 commit intosbmlteam:developmentfrom
giordano:mg/sbase_getnumplugins

Conversation

@giordano
Copy link
Copy Markdown
Contributor

This was different from signature in implementation, leading to the
implementation not being C-exported correctly, and having C++ name mangling:

% nm libsbml.so | grep SBase_getNumPlugins
00000000008f5240 T _Z19SBase_getNumPluginsPK5SBase

Similar to #189. Spotted in JuliaPackaging/Yggdrasil#5059.

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Change in documentation

Checklist:

  • I have updated all documentation necessary.
  • I have checked spelling in (new) comments.

Testing

  • Testing is done automatically and codecov shows test coverage
  • This cannot be tested automatically

This was different from signature in implementation, leading to the
implementation not being C-exported correctly, and having C++ name mangling:

```console
% nm libsbml.so | grep SBase_getNumPlugins
00000000008f5240 T _Z19SBase_getNumPluginsPK5SBase
```
Copy link
Copy Markdown
Member

@fbergmann fbergmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@fbergmann fbergmann merged commit 14d00cd into sbmlteam:development Jun 22, 2022
@giordano giordano deleted the mg/sbase_getnumplugins branch June 22, 2022 11:04
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.

2 participants