Skip to content

Commit 71b91be

Browse files
authored
Merge pull request sofa-framework#8 from hugtalbot/202503_fix_plugin_api_version
Add function to specify API version
2 parents 941bb96 + 6e281b4 commit 71b91be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sofa/metis/init.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ namespace sofa::metis
7474

7575
const char* getModuleName()
7676
{
77-
return sofa_tostring(SOFA_TARGET);
77+
return MODULE_NAME;
78+
}
79+
80+
const char* getModuleVersion()
81+
{
82+
return MODULE_VERSION;
7883
}
7984

8085
const char* getModuleDescription()

0 commit comments

Comments
 (0)