Skip to content

Commit

Permalink
Fix signature of SBase_getNumPlugins in prototype
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
giordano committed Jun 22, 2022
1 parent 52183c6 commit 455f456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbml/SBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -5074,7 +5074,7 @@ SBase_hasValidLevelVersionNamespaceCombination(SBase_t *sb);
*/
LIBSBML_EXTERN
int
SBase_getNumPlugins(SBase_t *sb);
SBase_getNumPlugins(const SBase_t *sb);

/**
* Returns a plug-in structure (extension interface) for an SBML Level 3
Expand Down

0 comments on commit 455f456

Please sign in to comment.