mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Rename create -> openmc_create_source
This commit is contained in:
parent
fae474869c
commit
0bb5030ee0
3 changed files with 3 additions and 3 deletions
|
|
@ -55,6 +55,6 @@ class ParameterizedSource : public openmc::CustomSource {
|
|||
|
||||
// you must have external C linkage here otherwise
|
||||
// dlopen will not find the file
|
||||
extern "C" ParameterizedSource* create(const char* parameters) {
|
||||
extern "C" ParameterizedSource* openmc_create_source(const char* parameters) {
|
||||
return ParameterizedSource::from_string(parameters);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue